home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-12-05 | 124.1 KB | [STAK/WILD] |
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: PDX Editor
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Dec 4 19:00:00 1991, modified Wed Dec 4 19:00:00 1991, creator HyperCard, type HyperCard stack, 94208 bytes " PDX Editor" , at 0x17080 32669 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 20 50 44 58 20 45 | 64 69 74 6f 72 00 00 00 |.. PDX E|ditor...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 70 00 00 | 00 7f 9d a5 63 1c 80 a5 |.....p..|....c...|
|00000060| 63 1c 80 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |c.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 32 53 00 00 |........|....2S..|
|00000080| 00 00 1e 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |....STAK|........|
|00000090| 00 00 00 0a 00 01 6a 40 | 00 00 1e 00 00 00 00 00 |......j@|........|
|000000a0| 00 00 00 00 00 00 00 03 | 00 00 0a 6e 00 00 00 06 |........|...n....|
|000000b0| 00 00 0f 10 00 00 1b 8a | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 0d c5 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 25 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |.%......|........|
|000000f0| 60 74 0e d3 00 00 00 00 | 00 24 00 40 01 7a 02 40 |`t......|.$.@.z.@|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 15 c7 00 00 11 36 | 00 00 00 00 00 00 00 00 |.......6|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | 00 00 ff 00 00 00 3c 00 |........|......<.|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 43 6f 70 79 72 | 69 67 68 74 20 a9 20 31 |-- Copyr|ight . 1|
|00000690| 39 39 30 2c 20 31 39 39 | 31 20 41 6c 64 75 73 20 |990, 199|1 Aldus |
|000006a0| 43 6f 72 70 6f 72 61 74 | 69 6f 6e 2e 0d 2d 2d 20 |Corporat|ion..-- |
|000006b0| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|000006c0| 76 65 64 2e 0d 0d 2d 2d | 20 48 41 4e 44 4c 45 52 |ved...--| HANDLER|
|000006d0| 53 20 46 4f 52 20 53 59 | 53 54 45 4d 20 4d 45 53 |S FOR SY|STEM MES|
|000006e0| 53 41 47 45 53 0d 0d 6f | 6e 20 73 74 61 72 74 55 |SAGES..o|n startU|
|000006f0| 70 0d 2d 2d 20 65 6d 70 | 74 79 20 73 6f 20 74 68 |p.-- emp|ty so th|
|00000700| 69 73 20 6d 65 73 73 61 | 67 65 20 64 6f 65 73 6e |is messa|ge doesn|
|00000710| d5 74 20 67 65 74 20 70 | 61 73 73 65 64 20 74 6f |.t get p|assed to|
|00000720| 20 68 6f 6d 65 20 63 61 | 72 64 20 74 6f 6f 20 73 | home ca|rd too s|
|00000730| 6f 6f 6e 0d 65 6e 64 20 | 73 74 61 72 74 55 70 0d |oon.end |startUp.|
|00000740| 0d 6f 6e 20 72 65 73 75 | 6d 65 0d 2d 2d 20 65 6d |.on resu|me.-- em|
|00000750| 70 74 79 20 73 6f 20 74 | 68 69 73 20 6d 65 73 73 |pty so t|his mess|
|00000760| 61 67 65 20 64 6f 65 73 | 6e d5 74 20 67 65 74 20 |age does|n.t get |
|00000770| 70 61 73 73 65 64 20 74 | 6f 20 68 6f 6d 65 20 63 |passed t|o home c|
|00000780| 61 72 64 20 74 6f 6f 20 | 73 6f 6f 6e 0d 65 6e 64 |ard too |soon.end|
|00000790| 20 72 65 73 75 6d 65 0d | 0d 6f 6e 20 6f 70 65 6e | resume.|.on open|
|000007a0| 53 74 61 63 6b 0d 67 6c | 6f 62 61 6c 20 70 64 78 |Stack.gl|obal pdx|
|000007b0| 53 74 61 63 6b 4f 70 65 | 6e 65 64 2c 20 70 64 78 |StackOpe|ned, pdx|
|000007c0| 53 74 61 74 65 2c 20 70 | 64 78 55 73 65 72 4c 65 |State, p|dxUserLe|
|000007d0| 76 65 6c 0d 67 6c 6f 62 | 61 6c 20 73 74 61 63 6b |vel.glob|al stack|
|000007e0| 73 20 20 20 20 20 2d 2d | 74 68 69 73 20 69 73 20 |s --|this is |
|000007f0| 6f 6e 65 20 6f 66 20 67 | 65 74 48 6f 6d 65 49 6e |one of g|etHomeIn|
|00000800| 66 6f 27 73 20 67 6c 6f | 62 61 6c 73 0d 2d 2d 0d |fo's glo|bals.--.|
|00000810| 67 65 74 20 74 68 65 20 | 76 65 72 73 69 6f 6e 20 |get the |version |
|00000820| 2d 2d 20 6f 66 20 48 79 | 70 65 72 43 61 72 64 0d |-- of Hy|perCard.|
|00000830| 69 66 20 69 74 20 3c 20 | 22 31 2e 32 22 20 74 68 |if it < |"1.2" th|
|00000840| 65 6e 0d 61 6e 73 77 65 | 72 20 74 72 61 6e 73 6c |en.answe|r transl|
|00000850| 61 74 65 28 20 4f 6c 64 | 48 79 70 65 72 43 61 72 |ate( Old|HyperCar|
|00000860| 64 45 72 72 6f 72 20 29 | 20 77 69 74 68 20 74 72 |dError )| with tr|
|00000870| 61 6e 73 6c 61 74 65 28 | 20 4f 4b 69 74 65 6d 20 |anslate(| OKitem |
|00000880| 29 0d 67 6f 20 68 6f 6d | 65 0d 65 78 69 74 20 74 |).go hom|e.exit t|
|00000890| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 65 6c 73 65 |o HyperC|ard.else|
|000008a0| 20 69 66 20 69 74 20 3e | 3d 20 22 32 2e 30 22 20 | if it >|= "2.0" |
|000008b0| 74 68 65 6e 0d 67 65 74 | 20 69 74 65 6d 20 34 20 |then.get| item 4 |
|000008c0| 6f 66 20 74 68 65 20 76 | 65 72 73 69 6f 6e 20 6f |of the v|ersion o|
|000008d0| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 2d 2d 20 |f this s|tack -- |
|000008e0| 68 61 73 20 73 74 61 63 | 6b 20 62 65 65 6e 20 63 |has stac|k been c|
|000008f0| 6f 6e 76 65 72 74 65 64 | 3f 0d 69 66 20 63 68 61 |onverted|?.if cha|
|00000900| 72 20 32 20 6f 66 20 69 | 74 20 3c 20 32 20 74 68 |r 2 of i|t < 2 th|
|00000910| 65 6e 20 67 65 74 20 70 | 64 78 41 6c 65 72 74 28 |en get p|dxAlert(|
|00000920| 20 4e 65 65 64 4e 65 77 | 48 79 70 65 72 43 61 72 | NeedNew|HyperCar|
|00000930| 64 41 6c 65 72 74 20 29 | 0d 65 6e 64 20 69 66 0d |dAlert )|.end if.|
|00000940| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00000950| 74 63 68 0d 2d 2d 66 6f | 72 63 65 20 68 6f 6d 65 |tch.--fo|rce home|
|00000960| 20 63 61 72 64 20 73 65 | 74 75 70 20 74 6f 20 6f | card se|tup to o|
|00000970| 63 63 75 72 20 68 65 72 | 65 2c 20 73 6f 20 69 74 |ccur her|e, so it|
|00000980| 20 64 6f 65 73 6e 27 74 | 20 72 65 73 65 74 20 75 | doesn't| reset u|
|00000990| 73 65 72 6c 65 76 65 6c | 0d 69 66 20 73 74 61 63 |serlevel|.if stac|
|000009a0| 6b 73 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |ks is em|pty then|
|000009b0| 20 73 65 6e 64 20 53 54 | 41 52 54 55 50 20 74 6f | send ST|ARTUP to|
|000009c0| 20 22 48 6f 6d 65 22 0d | 2d 2d 20 6e 6f 77 20 73 | "Home".|-- now s|
|000009d0| 61 76 65 20 61 6e 64 20 | 72 65 73 65 74 20 75 73 |ave and |reset us|
|000009e0| 65 72 6c 65 76 65 6c 0d | 70 75 74 20 74 68 65 20 |erlevel.|put the |
|000009f0| 75 73 65 72 4c 65 76 65 | 6c 20 69 6e 74 6f 20 70 |userLeve|l into p|
|00000a00| 64 78 55 73 65 72 4c 65 | 76 65 6c 0d 73 65 74 20 |dxUserLe|vel.set |
|00000a10| 74 68 65 20 75 73 65 72 | 4c 65 76 65 6c 20 74 6f |the user|Level to|
|00000a20| 20 32 20 2d 2d 20 74 79 | 70 69 6e 67 0d 69 66 20 | 2 -- ty|ping.if |
|00000a30| 70 64 78 53 74 61 63 6b | 4f 70 65 6e 65 64 20 69 |pdxStack|Opened i|
|00000a40| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |s empty |then put|
|00000a50| 20 66 61 6c 73 65 20 69 | 6e 74 6f 20 70 64 78 53 | false i|nto pdxS|
|00000a60| 74 61 63 6b 4f 70 65 6e | 65 64 0d 69 66 20 6e 6f |tackOpen|ed.if no|
|00000a70| 74 20 70 64 78 53 74 61 | 63 6b 4f 70 65 6e 65 64 |t pdxSta|ckOpened|
|00000a80| 20 74 68 65 6e 0d 6c 6f | 63 6b 20 73 63 72 65 65 | then.lo|ck scree|
|00000a90| 6e 0d 70 75 74 20 22 4e | 6f 46 69 6c 65 2c 43 61 |n.put "N|oFile,Ca|
|00000aa0| 6c 69 62 72 61 74 65 22 | 20 69 6e 74 6f 20 70 64 |librate"| into pd|
|00000ab0| 78 46 69 6c 65 53 74 61 | 74 65 0d 70 75 74 20 74 |xFileSta|te.put t|
|00000ac0| 72 75 65 20 69 6e 74 6f | 20 70 64 78 53 74 61 63 |rue into| pdxStac|
|00000ad0| 6b 4f 70 65 6e 65 64 0d | 73 68 6f 77 20 63 64 20 |kOpened.|show cd |
|00000ae0| 62 74 6e 20 69 64 20 33 | 20 6f 66 20 63 64 20 22 |btn id 3| of cd "|
|00000af0| 47 72 65 65 74 69 6e 67 | 22 20 2d 2d 20 22 4f 4b |Greeting|" -- "OK|
|00000b00| 22 0d 73 68 6f 77 20 63 | 64 20 62 74 6e 20 69 64 |".show c|d btn id|
|00000b10| 20 34 20 6f 66 20 63 64 | 20 22 47 72 65 65 74 69 | 4 of cd| "Greeti|
|00000b20| 6e 67 22 20 2d 2d 20 22 | 48 65 6c 70 2e 2e 2e 22 |ng" -- "|Help..."|
|00000b30| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 72 |.unlock |screen.r|
|00000b40| 65 70 65 61 74 20 77 68 | 69 6c 65 20 6c 69 6e 65 |epeat wh|ile line|
|00000b50| 20 31 20 6f 66 20 63 64 | 20 66 6c 64 20 22 43 72 | 1 of cd| fld "Cr|
|00000b60| 65 64 69 74 73 22 20 69 | 73 20 65 6d 70 74 79 0d |edits" i|s empty.|
|00000b70| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|00000b80| 73 79 0d 64 65 6c 65 74 | 65 20 6c 69 6e 65 20 31 |sy.delet|e line 1|
|00000b90| 20 6f 66 20 63 64 20 66 | 6c 64 20 22 43 72 65 64 | of cd f|ld "Cred|
|00000ba0| 69 74 73 22 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |its".end| repeat.|
|00000bb0| 77 61 69 74 20 36 30 20 | 74 69 63 6b 73 0d 65 6e |wait 60 |ticks.en|
|00000bc0| 64 20 69 66 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |d if.loc|k screen|
|00000bd0| 0d 67 6f 20 63 64 20 74 | 68 65 45 64 69 74 4d 6f |.go cd t|heEditMo|
|00000be0| 64 65 28 22 22 29 0d 73 | 65 6e 64 20 73 65 74 46 |de("").s|end setF|
|00000bf0| 69 6c 65 53 74 61 74 65 | 20 74 6f 20 62 67 20 22 |ileState| to bg "|
|00000c00| 45 64 69 74 6f 72 22 0d | 75 6e 6c 6f 63 6b 20 73 |Editor".|unlock s|
|00000c10| 63 72 65 65 6e 20 77 69 | 74 68 20 7a 6f 6f 6d 20 |creen wi|th zoom |
|00000c20| 6f 70 65 6e 0d 65 6e 64 | 20 6f 70 65 6e 53 74 61 |open.end| openSta|
|00000c30| 63 6b 0d 0d 6f 6e 20 63 | 6c 6f 73 65 53 74 61 63 |ck..on c|loseStac|
|00000c40| 6b 0d 67 6c 6f 62 61 6c | 20 70 64 78 55 73 65 72 |k.global| pdxUser|
|00000c50| 4c 65 76 65 6c 0d 69 66 | 20 70 64 78 55 73 65 72 |Level.if| pdxUser|
|00000c60| 4c 65 76 65 6c 20 69 73 | 20 6e 6f 74 20 65 6d 70 |Level is| not emp|
|00000c70| 74 79 0d 74 68 65 6e 20 | 73 65 74 20 74 68 65 20 |ty.then |set the |
|00000c80| 75 73 65 72 4c 65 76 65 | 6c 20 74 6f 20 70 64 78 |userLeve|l to pdx|
|00000c90| 55 73 65 72 4c 65 76 65 | 6c 20 2d 2d 20 72 65 73 |UserLeve|l -- res|
|00000ca0| 65 74 20 74 68 65 20 75 | 73 65 72 d5 73 20 6f 72 |et the u|ser.s or|
|00000cb0| 69 67 69 6e 61 6c 20 73 | 65 74 74 69 6e 67 0d 64 |iginal s|etting.d|
|00000cc0| 6f 4d 65 6e 75 20 22 43 | 6f 6d 70 61 63 74 20 53 |oMenu "C|ompact S|
|00000cd0| 74 61 63 6b 22 0d 65 6e | 64 20 63 6c 6f 73 65 53 |tack".en|d closeS|
|00000ce0| 74 61 63 6b 0d 0d 6f 6e | 20 64 6f 4d 65 6e 75 20 |tack..on| doMenu |
|00000cf0| 63 6d 6d 64 0d 2d 2d 20 | 54 48 49 53 20 48 41 4e |cmmd.-- |THIS HAN|
|00000d00| 44 4c 45 52 20 4d 41 59 | 20 4e 45 45 44 20 54 4f |DLER MAY| NEED TO|
|00000d10| 20 42 45 20 4c 4f 43 41 | 4c 49 5a 45 44 21 0d 69 | BE LOCA|LIZED!.i|
|00000d20| 66 20 63 6d 6d 64 20 3d | 20 22 4e 65 78 74 22 20 |f cmmd =| "Next" |
|00000d30| 74 68 65 6e 20 62 65 65 | 70 0d 65 6c 73 65 20 69 |then bee|p.else i|
|00000d40| 66 20 63 6d 6d 64 20 3d | 20 22 50 72 65 76 22 20 |f cmmd =| "Prev" |
|00000d50| 74 68 65 6e 20 62 65 65 | 70 0d 65 6c 73 65 20 69 |then bee|p.else i|
|00000d60| 66 20 63 6d 6d 64 20 3d | 20 22 46 69 72 73 74 22 |f cmmd =| "First"|
|00000d70| 20 74 68 65 6e 20 62 65 | 65 70 0d 65 6c 73 65 20 | then be|ep.else |
|00000d80| 69 66 20 63 6d 6d 64 20 | 3d 20 22 4c 61 73 74 22 |if cmmd |= "Last"|
|00000d90| 20 74 68 65 6e 20 62 65 | 65 70 0d 65 6c 73 65 20 | then be|ep.else |
|00000da0| 69 66 20 63 6d 6d 64 20 | 3d 20 22 42 61 63 6b 22 |if cmmd |= "Back"|
|00000db0| 20 74 68 65 6e 20 62 65 | 65 70 0d 65 6c 73 65 20 | then be|ep.else |
|00000dc0| 69 66 20 63 6d 6d 64 20 | 3d 20 22 48 65 6c 70 22 |if cmmd |= "Help"|
|00000dd0| 20 74 68 65 6e 0d 67 65 | 74 20 74 68 65 45 64 69 | then.ge|t theEdi|
|00000de0| 74 4d 6f 64 65 28 29 0d | 70 75 74 20 6c 69 6e 65 |tMode().|put line|
|00000df0| 20 31 20 6f 66 20 63 64 | 20 66 6c 64 20 70 64 78 | 1 of cd| fld pdx|
|00000e00| 48 65 6c 70 53 63 72 6f | 6c 6c 56 61 6c 75 65 73 |HelpScro|llValues|
|00000e10| 20 6f 66 20 63 64 20 31 | 20 69 6e 74 6f 20 73 63 | of cd 1| into sc|
|00000e20| 72 6f 6c 6c 56 61 6c 75 | 65 73 0d 70 75 74 20 30 |rollValu|es.put 0|
|00000e30| 20 69 6e 74 6f 20 53 0d | 69 66 20 69 74 20 69 73 | into S.|if it is|
|00000e40| 20 22 43 61 6c 69 62 72 | 61 74 65 22 20 74 68 65 | "Calibr|ate" the|
|00000e50| 6e 20 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |n put it|em 1 of |
|00000e60| 73 63 72 6f 6c 6c 56 61 | 6c 75 65 73 20 69 6e 74 |scrollVa|lues int|
|00000e70| 6f 20 53 0d 65 6c 73 65 | 20 69 66 20 69 74 20 69 |o S.else| if it i|
|00000e80| 73 20 22 50 61 70 65 72 | 22 20 74 68 65 6e 20 70 |s "Paper|" then p|
|00000e90| 75 74 20 69 74 65 6d 20 | 32 20 6f 66 20 73 63 72 |ut item |2 of scr|
|00000ea0| 6f 6c 6c 56 61 6c 75 65 | 73 20 69 6e 74 6f 20 53 |ollValue|s into S|
|00000eb0| 0d 65 6c 73 65 20 69 66 | 20 69 74 20 69 73 20 22 |.else if| it is "|
|00000ec0| 46 6f 6e 74 73 22 20 74 | 68 65 6e 20 70 75 74 20 |Fonts" t|hen put |
|00000ed0| 69 74 65 6d 20 33 20 6f | 66 20 73 63 72 6f 6c 6c |item 3 o|f scroll|
|00000ee0| 56 61 6c 75 65 73 20 69 | 6e 74 6f 20 53 0d 65 6c |Values i|nto S.el|
|00000ef0| 73 65 20 69 66 20 69 74 | 20 69 73 20 22 48 61 6c |se if it| is "Hal|
|00000f00| 66 74 6f 6e 65 73 22 20 | 74 68 65 6e 20 70 75 74 |ftones" |then put|
|00000f10| 20 69 74 65 6d 20 34 20 | 6f 66 20 73 63 72 6f 6c | item 4 |of scrol|
|00000f20| 6c 56 61 6c 75 65 73 20 | 69 6e 74 6f 20 53 0d 6c |lValues |into S.l|
|00000f30| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 67 6f 20 63 64 |ock scre|en.go cd|
|00000f40| 20 22 48 65 6c 70 22 0d | 73 65 74 20 73 63 72 6f | "Help".|set scro|
|00000f50| 6c 6c 20 6f 66 20 63 64 | 20 66 6c 64 20 22 50 44 |ll of cd| fld "PD|
|00000f60| 58 20 45 64 69 74 6f 72 | 20 48 65 6c 70 22 20 74 |X Editor| Help" t|
|00000f70| 6f 20 53 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |o S.unlo|ck scree|
|00000f80| 6e 20 77 69 74 68 20 7a | 6f 6f 6d 20 6f 70 65 6e |n with z|oom open|
|00000f90| 0d 65 6c 73 65 20 69 66 | 20 63 6d 6d 64 20 3d 20 |.else if| cmmd = |
|00000fa0| 22 51 75 69 74 20 48 79 | 70 65 72 43 61 72 64 22 |"Quit Hy|perCard"|
|00000fb0| 20 74 68 65 6e 0d 2d 2d | 20 63 6c 65 61 6e 20 75 | then.--| clean u|
|00000fc0| 70 20 61 6e 64 20 71 75 | 69 74 20 48 79 70 65 72 |p and qu|it Hyper|
|00000fd0| 43 61 72 64 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |Card.loc|k screen|
|00000fe0| 0d 67 6f 20 63 64 20 22 | 43 61 6c 69 62 72 61 74 |.go cd "|Calibrat|
|00000ff0| 65 22 0d 73 65 6e 64 20 | 22 73 65 74 46 69 6c 65 |e".send |"setFile|
|00001000| 53 74 61 74 65 20 4e 6f | 46 69 6c 65 22 20 74 6f |State No|File" to|
|00001010| 20 62 67 20 22 45 64 69 | 74 6f 72 22 0d 70 75 74 | bg "Edi|tor".put|
|00001020| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 62 67 20 66 | empty i|nto bg f|
|00001030| 6c 64 20 22 70 72 6f 6d | 70 74 22 20 6f 66 20 63 |ld "prom|pt" of c|
|00001040| 64 20 22 43 61 6c 69 62 | 72 61 74 65 22 0d 70 75 |d "Calib|rate".pu|
|00001050| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 62 67 20 |t empty |into bg |
|00001060| 66 6c 64 20 22 46 69 6c | 65 4e 61 6d 65 22 20 6f |fld "Fil|eName" o|
|00001070| 66 20 63 64 20 22 43 61 | 6c 69 62 72 61 74 65 22 |f cd "Ca|librate"|
|00001080| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00001090| 62 67 20 66 6c 64 20 22 | 70 72 6f 6d 70 74 22 20 |bg fld "|prompt" |
|000010a0| 6f 66 20 63 64 20 22 50 | 61 70 65 72 22 0d 70 75 |of cd "P|aper".pu|
|000010b0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 62 67 20 |t empty |into bg |
|000010c0| 66 6c 64 20 22 46 69 6c | 65 4e 61 6d 65 22 20 6f |fld "Fil|eName" o|
|000010d0| 66 20 63 64 20 22 50 61 | 70 65 72 22 0d 70 75 74 |f cd "Pa|per".put|
|000010e0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 62 67 20 66 | empty i|nto bg f|
|000010f0| 6c 64 20 22 70 72 6f 6d | 70 74 22 20 6f 66 20 63 |ld "prom|pt" of c|
|00001100| 64 20 22 46 6f 6e 74 73 | 22 0d 70 75 74 20 65 6d |d "Fonts|".put em|
|00001110| 70 74 79 20 69 6e 74 6f | 20 62 67 20 66 6c 64 20 |pty into| bg fld |
|00001120| 22 46 69 6c 65 4e 61 6d | 65 22 20 6f 66 20 63 64 |"FileNam|e" of cd|
|00001130| 20 22 46 6f 6e 74 73 22 | 0d 68 69 64 65 20 63 64 | "Fonts"|.hide cd|
|00001140| 20 62 74 6e 20 69 64 20 | 33 20 6f 66 20 63 64 20 | btn id |3 of cd |
|00001150| 22 47 72 65 65 74 69 6e | 67 22 20 2d 2d 20 22 4f |"Greetin|g" -- "O|
|00001160| 4b 22 0d 68 69 64 65 20 | 63 64 20 62 74 6e 20 69 |K".hide |cd btn i|
|00001170| 64 20 34 20 6f 66 20 63 | 64 20 22 47 72 65 65 74 |d 4 of c|d "Greet|
|00001180| 69 6e 67 22 20 2d 2d 20 | 22 48 65 6c 70 2e 2e 2e |ing" -- |"Help...|
|00001190| 22 0d 67 6f 20 63 64 20 | 22 47 72 65 65 74 69 6e |".go cd |"Greetin|
|000011a0| 67 22 0d 70 75 74 20 6d | 61 6e 79 4c 69 6e 65 73 |g".put m|anyLines|
|000011b0| 28 29 20 62 65 66 6f 72 | 65 20 63 64 20 66 6c 64 |() befor|e cd fld|
|000011c0| 20 22 43 72 65 64 69 74 | 73 22 0d 75 6e 6c 6f 63 | "Credit|s".unloc|
|000011d0| 6b 20 73 63 72 65 65 6e | 20 77 69 74 68 20 7a 6f |k screen| with zo|
|000011e0| 6f 6d 20 6f 70 65 6e 0d | 70 61 73 73 20 64 6f 4d |om open.|pass doM|
|000011f0| 65 6e 75 0d 65 6c 73 65 | 20 70 61 73 73 20 64 6f |enu.else| pass do|
|00001200| 4d 65 6e 75 0d 65 6e 64 | 20 64 6f 4d 65 6e 75 0d |Menu.end| doMenu.|
|00001210| 0d 2d 2d 20 48 41 4e 44 | 4c 45 52 53 20 41 4e 44 |.-- HAND|LERS AND|
|00001220| 20 46 55 4e 43 54 49 4f | 4e 53 20 46 4f 52 20 54 | FUNCTIO|NS FOR T|
|00001230| 48 49 53 20 53 54 41 43 | 4b 0d 0d 6f 6e 20 71 75 |HIS STAC|K..on qu|
|00001240| 69 74 4f 75 74 73 69 64 | 65 45 64 69 74 6f 72 0d |itOutsid|eEditor.|
|00001250| 2d 2d 20 54 68 69 73 20 | 68 61 6e 64 6c 65 73 20 |-- This |handles |
|00001260| 22 51 75 69 74 20 48 79 | 70 65 72 43 61 72 64 22 |"Quit Hy|perCard"|
|00001270| 20 63 6f 6d 6d 61 6e 64 | 20 6f 6e 20 74 68 65 20 | command| on the |
|00001280| 41 62 6f 75 74 20 61 6e | 64 20 48 65 6c 70 20 63 |About an|d Help c|
|00001290| 61 72 64 73 0d 76 69 73 | 75 61 6c 20 65 66 66 65 |ards.vis|ual effe|
|000012a0| 63 74 20 7a 6f 6f 6d 20 | 63 6c 6f 73 65 0d 67 6f |ct zoom |close.go|
|000012b0| 20 63 64 20 74 68 65 45 | 64 69 74 4d 6f 64 65 28 | cd theE|ditMode(|
|000012c0| 22 22 29 0d 73 65 6e 64 | 20 6d 6f 75 73 65 55 70 |"").send| mouseUp|
|000012d0| 20 74 6f 20 62 67 20 62 | 74 6e 20 69 64 20 32 34 | to bg b|tn id 24|
|000012e0| 20 2d 2d 20 22 51 75 69 | 74 22 0d 65 6e 64 20 71 | -- "Qui|t".end q|
|000012f0| 75 69 74 4f 75 74 73 69 | 64 65 45 64 69 74 6f 72 |uitOutsi|deEditor|
|00001300| 0d 0d 6f 6e 20 70 64 78 | 45 72 72 6f 72 20 65 72 |..on pdx|Error er|
|00001310| 72 6f 72 0d 2d 2d 20 44 | 69 73 70 6c 61 79 20 61 |ror.-- D|isplay a|
|00001320| 6e 20 61 6c 65 72 74 20 | 77 69 74 68 20 74 68 65 |n alert |with the|
|00001330| 20 64 65 73 69 67 6e 61 | 74 65 64 20 65 72 72 6f | designa|ted erro|
|00001340| 72 20 2d 20 77 68 69 63 | 68 20 73 68 6f 75 6c 64 |r - whic|h should|
|00001350| 20 62 65 20 61 0d 2d 2d | 20 20 63 61 6e 6e 65 64 | be a.--| canned|
|00001360| 20 6e 61 6d 65 20 63 6f | 72 72 65 73 70 6f 6e 64 | name co|rrespond|
|00001370| 69 6e 67 20 74 6f 20 61 | 20 63 64 20 66 6c 64 20 |ing to a| cd fld |
|00001380| 6e 61 6d 65 20 6f 66 20 | 63 64 20 31 2e 20 20 54 |name of |cd 1. T|
|00001390| 68 69 73 20 68 61 6e 64 | 6c 65 72 0d 2d 2d 20 20 |his hand|ler.-- |
|000013a0| 74 65 72 6d 69 6e 61 74 | 65 73 20 77 68 61 74 65 |terminat|es whate|
|000013b0| 76 65 72 20 61 63 74 69 | 6f 6e 20 69 73 20 74 61 |ver acti|on is ta|
|000013c0| 6b 69 6e 67 20 70 6c 61 | 63 65 20 62 79 20 65 78 |king pla|ce by ex|
|000013d0| 69 74 69 6e 67 20 74 6f | 20 48 79 70 65 72 43 61 |iting to| HyperCa|
|000013e0| 72 64 2e 0d 2d 2d 20 49 | 4e 3a 20 3c 65 72 72 6f |rd..-- I|N: <erro|
|000013f0| 72 3e 20 2d 20 6f 6e 65 | 2d 77 6f 72 64 20 6e 61 |r> - one|-word na|
|00001400| 6d 65 20 6f 66 20 61 6d | 20 65 72 72 6f 72 20 63 |me of am| error c|
|00001410| 6f 64 65 20 63 64 20 66 | 6c 64 20 6f 6e 20 63 64 |ode cd f|ld on cd|
|00001420| 20 31 0d 2d 2d 20 20 20 | 20 20 20 20 20 20 20 20 | 1.-- | |
|00001430| 20 20 2d 20 69 66 20 6e | 6f 20 65 72 72 6f 72 20 | - if n|o error |
|00001440| 63 6f 64 65 20 69 73 20 | 67 69 76 65 6e 2c 20 75 |code is |given, u|
|00001450| 73 65 20 74 68 65 20 22 | 75 6e 6b 6e 6f 77 6e 20 |se the "|unknown |
|00001460| 65 72 72 6f 72 22 0d 2d | 2d 0d 69 66 20 65 72 72 |error".-|-.if err|
|00001470| 6f 72 20 69 73 20 65 6d | 70 74 79 0d 74 68 65 6e |or is em|pty.then|
|00001480| 20 70 75 74 20 74 72 61 | 6e 73 6c 61 74 65 28 20 | put tra|nslate( |
|00001490| 22 55 6e 6b 6e 6f 77 6e | 45 72 72 6f 72 22 20 29 |"Unknown|Error" )|
|000014a0| 20 69 6e 74 6f 20 65 72 | 72 53 74 72 69 6e 67 0d | into er|rString.|
|000014b0| 65 6c 73 65 20 70 75 74 | 20 74 72 61 6e 73 6c 61 |else put| transla|
|000014c0| 74 65 28 20 65 72 72 6f | 72 20 29 20 69 6e 74 6f |te( erro|r ) into|
|000014d0| 20 65 72 72 53 74 72 69 | 6e 67 0d 2d 2d 20 67 65 | errStri|ng.-- ge|
|000014e0| 74 20 6c 6f 63 61 6c 69 | 7a 65 64 20 22 4f 4b 22 |t locali|zed "OK"|
|000014f0| 0d 70 75 74 20 74 72 61 | 6e 73 6c 61 74 65 28 20 |.put tra|nslate( |
|00001500| 22 4f 4b 49 74 65 6d 22 | 20 29 20 69 6e 74 6f 20 |"OKItem"| ) into |
|00001510| 4f 4b 0d 2d 2d 20 73 68 | 6f 77 20 74 68 65 20 61 |OK.-- sh|ow the a|
|00001520| 6c 65 72 74 20 61 6e 64 | 20 65 78 69 74 0d 61 6e |lert and| exit.an|
|00001530| 73 77 65 72 20 65 72 72 | 53 74 72 69 6e 67 20 77 |swer err|String w|
|00001540| 69 74 68 20 4f 4b 0d 69 | 66 20 74 68 65 20 73 68 |ith OK.i|f the sh|
|00001550| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00001560| 20 62 67 20 69 73 20 22 | 45 64 69 74 6f 72 22 0d | bg is "|Editor".|
|00001570| 74 68 65 6e 0d 67 65 74 | 20 73 68 6f 72 74 20 6e |then.get| short n|
|00001580| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 64 0d 73 |ame of t|his cd.s|
|00001590| 65 74 20 68 69 6c 69 74 | 65 20 6f 66 20 62 67 20 |et hilit|e of bg |
|000015a0| 62 74 6e 20 22 43 61 6c | 69 62 72 61 74 69 6f 6e |btn "Cal|ibration|
|000015b0| 22 20 74 6f 20 28 20 69 | 74 20 3d 20 22 43 61 6c |" to ( i|t = "Cal|
|000015c0| 69 62 72 61 74 65 22 20 | 29 0d 73 65 74 20 68 69 |ibrate" |).set hi|
|000015d0| 6c 69 74 65 20 6f 66 20 | 62 67 20 62 74 6e 20 22 |lite of |bg btn "|
|000015e0| 50 61 70 65 72 20 73 69 | 7a 65 73 22 20 74 6f 20 |Paper si|zes" to |
|000015f0| 28 20 69 74 20 3d 20 22 | 50 61 70 65 72 22 20 29 |( it = "|Paper" )|
|00001600| 0d 73 65 74 20 68 69 6c | 69 74 65 20 6f 66 20 62 |.set hil|ite of b|
|00001610| 67 20 62 74 6e 20 22 46 | 6f 6e 74 73 22 20 74 6f |g btn "F|onts" to|
|00001620| 20 28 20 69 74 20 3d 20 | 22 46 6f 6e 74 73 22 20 | ( it = |"Fonts" |
|00001630| 29 0d 73 65 74 20 68 69 | 6c 69 74 65 20 6f 66 20 |).set hi|lite of |
|00001640| 62 67 20 62 74 6e 20 22 | 48 61 6c 66 74 6f 6e 65 |bg btn "|Halftone|
|00001650| 20 53 63 72 65 65 6e 73 | 22 20 74 6f 20 28 20 69 | Screens|" to ( i|
|00001660| 74 20 3d 20 22 48 61 6c | 66 74 6f 6e 65 73 22 20 |t = "Hal|ftones" |
|00001670| 29 0d 73 65 6e 64 20 64 | 6f 55 73 65 72 50 72 6f |).send d|oUserPro|
|00001680| 6d 70 74 20 74 6f 20 74 | 68 69 73 20 62 67 0d 65 |mpt to t|his bg.e|
|00001690| 6e 64 20 69 66 0d 65 78 | 69 74 20 74 6f 20 48 79 |nd if.ex|it to Hy|
|000016a0| 70 65 72 43 61 72 64 0d | 65 6e 64 20 70 64 78 45 |perCard.|end pdxE|
|000016b0| 72 72 6f 72 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 70 |rror..fu|nction p|
|000016c0| 64 78 41 6c 65 72 74 20 | 61 6c 65 72 74 0d 2d 2d |dxAlert |alert.--|
|000016d0| 20 44 69 73 70 6c 61 79 | 20 61 6e 20 22 61 6e 73 | Display| an "ans|
|000016e0| 77 65 72 22 20 61 6c 65 | 72 74 20 77 69 74 68 20 |wer" ale|rt with |
|000016f0| 74 68 65 20 64 65 73 69 | 67 6e 61 74 65 64 20 65 |the desi|gnated e|
|00001700| 72 72 6f 72 20 2d 20 77 | 68 69 63 68 20 73 68 6f |rror - w|hich sho|
|00001710| 75 6c 64 20 62 65 20 61 | 0d 2d 2d 20 20 63 61 6e |uld be a|.-- can|
|00001720| 6e 65 64 20 6e 61 6d 65 | 20 63 6f 72 72 65 73 70 |ned name| corresp|
|00001730| 6f 6e 64 69 6e 67 20 74 | 6f 20 61 6e 20 61 6c 65 |onding t|o an ale|
|00001740| 72 74 20 63 6f 64 65 20 | 63 64 20 66 6c 64 20 6e |rt code |cd fld n|
|00001750| 61 6d 65 20 6f 6e 20 63 | 64 20 31 2e 0d 2d 2d 20 |ame on c|d 1..-- |
|00001760| 49 4e 3a 20 3c 61 6c 65 | 72 74 3e 20 2d 20 6f 6e |IN: <ale|rt> - on|
|00001770| 65 2d 77 6f 72 64 20 6e | 61 6d 65 20 6f 66 20 61 |e-word n|ame of a|
|00001780| 20 63 64 20 66 6c 64 20 | 6f 6e 20 63 64 20 31 0d | cd fld |on cd 1.|
|00001790| 2d 2d 20 20 20 20 20 6f | 74 68 65 72 20 70 61 72 |-- o|ther par|
|000017a0| 61 6d 65 74 65 72 73 2c | 20 75 70 20 74 6f 20 33 |ameters,| up to 3|
|000017b0| 20 2d 20 63 6f 64 65 20 | 6e 61 6d 65 73 20 66 6f | - code |names fo|
|000017c0| 72 20 63 6f 6e 74 72 6f | 6c 20 69 74 65 6d 73 0d |r contro|l items.|
|000017d0| 2d 2d 20 20 20 20 20 69 | 66 20 6e 6f 6e 65 20 61 |-- i|f none a|
|000017e0| 72 65 20 70 72 6f 76 69 | 64 65 64 2c 20 74 68 65 |re provi|ded, the|
|000017f0| 20 4f 4b 69 74 65 6d 20 | 77 69 6c 6c 20 62 65 20 | OKitem |will be |
|00001800| 75 73 65 64 0d 2d 2d 20 | 52 45 54 55 52 4e 53 3a |used.-- |RETURNS:|
|00001810| 20 74 72 61 6e 73 6c 61 | 74 65 64 20 6e 61 6d 65 | transla|ted name|
|00001820| 20 6f 66 20 63 6f 6e 74 | 72 6f 6c 20 73 65 6c 65 | of cont|rol sele|
|00001830| 63 74 65 64 2c 20 6f 72 | 20 65 6d 70 74 79 20 69 |cted, or| empty i|
|00001840| 66 20 6e 6f 0d 2d 2d 20 | 20 20 20 20 61 6c 65 72 |f no.-- | aler|
|00001850| 74 20 69 73 20 70 72 6f | 76 69 64 65 64 0d 2d 2d |t is pro|vided.--|
|00001860| 0d 69 66 20 61 6c 65 72 | 74 20 69 73 20 65 6d 70 |.if aler|t is emp|
|00001870| 74 79 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 65 |ty then |return e|
|00001880| 6d 70 74 79 20 2d 2d 20 | 65 72 72 6f 72 20 63 6f |mpty -- |error co|
|00001890| 6e 64 69 74 69 6f 6e 0d | 70 75 74 20 74 72 61 6e |ndition.|put tran|
|000018a0| 73 6c 61 74 65 28 20 61 | 6c 65 72 74 20 29 20 69 |slate( a|lert ) i|
|000018b0| 6e 74 6f 20 61 6c 65 72 | 74 53 74 72 69 6e 67 0d |nto aler|tString.|
|000018c0| 69 66 20 70 61 72 61 6d | 28 32 29 20 69 73 20 6e |if param|(2) is n|
|000018d0| 6f 74 20 65 6d 70 74 79 | 0d 74 68 65 6e 20 70 75 |ot empty|.then pu|
|000018e0| 74 20 74 72 61 6e 73 6c | 61 74 65 28 20 70 61 72 |t transl|ate( par|
|000018f0| 61 6d 28 32 29 20 29 20 | 69 6e 74 6f 20 63 6f 6e |am(2) ) |into con|
|00001900| 74 72 6f 6c 53 74 72 69 | 6e 67 0d 65 6c 73 65 20 |trolStri|ng.else |
|00001910| 70 75 74 20 74 72 61 6e | 73 6c 61 74 65 28 20 4f |put tran|slate( O|
|00001920| 4b 69 74 65 6d 20 29 20 | 69 6e 74 6f 20 63 6f 6e |Kitem ) |into con|
|00001930| 74 72 6f 6c 53 74 72 69 | 6e 67 0d 72 65 70 65 61 |trolStri|ng.repea|
|00001940| 74 20 77 69 74 68 20 69 | 20 3d 20 33 20 74 6f 20 |t with i| = 3 to |
|00001950| 34 0d 69 66 20 70 61 72 | 61 6d 28 69 29 20 69 73 |4.if par|am(i) is|
|00001960| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00001970| 69 66 20 63 6f 6e 74 72 | 6f 6c 53 74 72 69 6e 67 |if contr|olString|
|00001980| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00001990| 65 6e 20 70 75 74 20 22 | 20 6f 72 20 22 20 61 66 |en put "| or " af|
|000019a0| 74 65 72 20 63 6f 6e 74 | 72 6f 6c 53 74 72 69 6e |ter cont|rolStrin|
|000019b0| 67 0d 70 75 74 20 74 72 | 61 6e 73 6c 61 74 65 28 |g.put tr|anslate(|
|000019c0| 20 70 61 72 61 6d 28 69 | 29 20 29 20 61 66 74 65 | param(i|) ) afte|
|000019d0| 72 20 63 6f 6e 74 72 6f | 6c 53 74 72 69 6e 67 0d |r contro|lString.|
|000019e0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|000019f0| 74 0d 2d 2d 20 73 68 6f | 77 20 74 68 65 20 61 6c |t.-- sho|w the al|
|00001a00| 65 72 74 20 61 6e 64 20 | 72 65 74 75 72 6e 20 75 |ert and |return u|
|00001a10| 73 65 72 27 73 20 63 68 | 6f 69 63 65 0d 70 75 74 |ser's ch|oice.put|
|00001a20| 20 22 61 6e 73 77 65 72 | 20 61 6c 65 72 74 53 74 | "answer| alertSt|
|00001a30| 72 69 6e 67 20 77 69 74 | 68 20 22 20 26 20 63 6f |ring wit|h " & co|
|00001a40| 6e 74 72 6f 6c 53 74 72 | 69 6e 67 20 69 6e 74 6f |ntrolStr|ing into|
|00001a50| 20 63 6d 6d 64 0d 64 6f | 20 63 6d 6d 64 0d 72 65 | cmmd.do| cmmd.re|
|00001a60| 74 75 72 6e 20 69 74 0d | 65 6e 64 20 70 64 78 41 |turn it.|end pdxA|
|00001a70| 6c 65 72 74 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 74 |lert..fu|nction t|
|00001a80| 68 65 45 64 69 74 4d 6f | 64 65 0d 2d 2d 20 52 45 |heEditMo|de.-- RE|
|00001a90| 54 55 52 4e 53 3a 20 22 | 43 61 6c 69 62 72 61 74 |TURNS: "|Calibrat|
|00001aa0| 65 22 2c 20 22 50 61 70 | 65 72 22 2c 20 6f 72 20 |e", "Pap|er", or |
|00001ab0| 22 46 6f 6e 74 73 22 0d | 67 6c 6f 62 61 6c 20 70 |"Fonts".|global p|
|00001ac0| 64 78 53 74 61 74 65 0d | 2d 2d 0d 69 66 20 70 64 |dxState.|--.if pd|
|00001ad0| 78 53 74 61 74 65 20 69 | 73 20 65 6d 70 74 79 20 |xState i|s empty |
|00001ae0| 74 68 65 6e 20 70 75 74 | 20 22 4e 6f 46 69 6c 65 |then put| "NoFile|
|00001af0| 2c 43 61 6c 69 62 72 61 | 74 65 22 20 69 6e 74 6f |,Calibra|te" into|
|00001b00| 20 70 64 78 53 74 61 74 | 65 0d 72 65 74 75 72 6e | pdxStat|e.return|
|00001b10| 20 69 74 65 6d 20 32 20 | 6f 66 20 70 64 78 53 74 | item 2 |of pdxSt|
|00001b20| 61 74 65 0d 65 6e 64 20 | 74 68 65 45 64 69 74 4d |ate.end |theEditM|
|00001b30| 6f 64 65 0d 0d 66 75 6e | 63 74 69 6f 6e 20 74 72 |ode..fun|ction tr|
|00001b40| 61 6e 73 6c 61 74 65 20 | 78 0d 2d 2d 20 55 73 65 |anslate |x.-- Use|
|00001b50| 64 20 74 6f 20 74 72 61 | 6e 73 6c 61 74 65 20 70 |d to tra|nslate p|
|00001b60| 72 6f 6d 70 74 73 2c 20 | 65 72 72 6f 72 73 2c 20 |rompts, |errors, |
|00001b70| 61 6c 65 72 74 73 2c 20 | 63 6f 6e 74 72 6f 6c 20 |alerts, |control |
|00001b80| 69 74 65 6d 73 2c 20 65 | 74 63 2e 0d 2d 2d 20 20 |items, e|tc..-- |
|00001b90| 66 72 6f 6d 20 74 68 65 | 20 69 6e 74 65 72 6e 61 |from the| interna|
|00001ba0| 6c 20 63 6f 64 65 20 6e | 61 6d 65 20 75 73 65 64 |l code n|ame used|
|00001bb0| 20 69 6e 20 74 68 65 20 | 73 74 61 63 6b 20 74 6f | in the |stack to|
|00001bc0| 20 74 68 65 20 6c 6f 63 | 61 6c 69 7a 65 64 0d 2d | the loc|alized.-|
|00001bd0| 2d 20 20 76 65 72 73 69 | 6f 6e 2e 0d 2d 2d 20 49 |- versi|on..-- I|
|00001be0| 4e 3a 20 3c 78 3e 20 4d | 55 53 54 20 62 65 20 74 |N: <x> M|UST be t|
|00001bf0| 68 65 20 6f 6e 65 2d 77 | 6f 72 64 20 6e 61 6d 65 |he one-w|ord name|
|00001c00| 20 6f 66 20 61 20 63 61 | 72 64 20 66 69 65 6c 64 | of a ca|rd field|
|00001c10| 20 6f 6e 20 63 61 72 64 | 20 31 0d 2d 2d 20 20 20 | on card| 1.-- |
|00001c20| 20 20 20 20 20 20 63 6f | 6e 74 61 69 6e 69 6e 67 | co|ntaining|
|00001c30| 20 74 68 65 20 74 72 61 | 6e 73 6c 61 74 69 6f 6e | the tra|nslation|
|00001c40| 20 6f 66 20 74 68 65 20 | 63 6f 64 65 20 2d 20 6e | of the |code - n|
|00001c50| 6f 20 65 72 72 6f 72 20 | 63 68 65 63 6b 69 6e 67 |o error |checking|
|00001c60| 0d 2d 2d 20 20 20 20 20 | 20 20 20 20 69 73 20 64 |.-- | is d|
|00001c70| 6f 6e 65 21 0d 2d 2d 0d | 72 65 74 75 72 6e 20 63 |one!.--.|return c|
|00001c80| 64 20 66 6c 64 20 78 20 | 6f 66 20 63 64 20 31 0d |d fld x |of cd 1.|
|00001c90| 65 6e 64 20 74 72 61 6e | 73 6c 61 74 65 0d 0d 66 |end tran|slate..f|
|00001ca0| 75 6e 63 74 69 6f 6e 20 | 6d 61 6e 79 4c 69 6e 65 |unction |manyLine|
|00001cb0| 73 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |s.put em|pty into|
|00001cc0| 20 58 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 | X.repea|t with i|
|00001cd0| 20 3d 20 31 20 74 6f 20 | 31 32 0d 70 75 74 20 72 | = 1 to |12.put r|
|00001ce0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 58 0d 65 6e |eturn af|ter X.en|
|00001cf0| 64 20 72 65 70 65 61 74 | 0d 72 65 74 75 72 6e 20 |d repeat|.return |
|00001d00| 58 0d 65 6e 64 20 6d 61 | 6e 79 4c 69 6e 65 73 0d |X.end ma|nyLines.|
|00001d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e80| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00001e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ea0| 00 06 6e d5 00 08 cc 84 | 00 01 44 6e 00 04 22 ad |..n.....|..Dn..".|
|00001eb0| 00 04 0d 8d 00 0b 47 c5 | 00 04 20 2f 00 04 25 10 |......G.|.. /..%.|
|00001ec0| 00 05 05 f5 00 0b 43 36 | 00 08 77 4e 00 04 1b e2 |......C6|..wN....|
|00001ed0| 00 09 e2 9d 00 0b 45 c7 | 00 08 7a a3 00 04 1d a0 |......E.|..z.....|
|00001ee0| 00 05 02 2b 00 00 00 00 | 00 00 00 00 00 01 00 8a |...+....|........|
|00001ef0| 00 01 04 70 00 00 00 00 | 00 00 00 00 00 00 00 00 |...p....|........|
|00001f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002080| 00 00 00 80 4c 49 53 54 | 00 00 1b 8a 00 00 00 00 |....LIST|........|
|00002090| 00 00 00 01 00 00 08 00 | 00 00 00 06 00 58 00 02 |........|.....X..|
|000020a0| 00 15 00 03 00 00 03 94 | 00 00 00 06 00 00 00 00 |........|........|
|000020b0| 00 00 1c 70 00 06 00 00 | 00 00 00 00 00 00 00 00 |...p....|........|
|000020c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002100| 00 00 08 00 50 41 47 45 | 00 00 1c 70 00 00 00 00 |....PAGE|...p....|
|00002110| 00 00 1b 8a b4 7e 02 c5 | 00 00 0f 10 e0 7b 77 ea |.....~..|.....{w.|
|00002120| a7 eb 3e e7 6a ae 2f fd | bd 7e e3 ef a7 fd 67 cb |..>.j./.|.~....g.|
|00002130| ff 79 3f dc bf 38 fb fd | f0 7e bb bf 9d f9 ac 53 |.y?..8..|.~.....S|
|00002140| bb 5c d7 cf ef ef f9 93 | 5f ff ff 7e ff d5 f9 ff |.\......|_..~....|
|00002150| b6 7f 7f 51 7e 5f ad a3 | cf 7e ff 7f fb 7b 3f 7d |...Q~_..|.~...{?}|
|00002160| ed fc ec df 7f 7b cf 75 | eb fa dc 3f 57 d8 ac 74 |.....{.u|...?W..t|
|00002170| 00 00 10 f5 e0 00 10 00 | 00 08 05 90 00 00 22 08 |........|......".|
|00002180| 80 00 48 40 00 00 00 00 | 02 40 00 80 10 00 00 00 |..H@....|.@......|
|00002190| 10 00 00 04 01 10 00 01 | 21 00 00 00 00 00 00 01 |........|!.......|
|000021a0| 00 44 80 00 40 00 01 02 | 00 10 00 01 00 31 08 00 |.D..@...|.....1..|
|000021b0| 02 00 10 00 00 48 00 30 | 00 00 00 8b 08 00 40 00 |.....H.0|......@.|
|000021c0| 00 00 00 14 01 10 08 00 | 00 00 08 d5 a0 00 10 00 |........|........|
|000021d0| 00 00 00 02 09 02 02 00 | 00 48 d0 80 00 00 01 00 |........|.H......|
|000021e0| 01 10 04 00 21 20 08 00 | 00 80 10 80 40 80 00 00 |....! ..|....@...|
|000021f0| 80 40 a2 00 00 0c 01 00 | 0c 20 00 04 02 10 10 11 |.@......|. ......|
|00002200| 02 50 00 00 84 20 00 00 | 04 00 00 00 08 08 00 00 |.P... ..|........|
|00002210| 00 10 00 00 08 20 00 20 | 80 41 00 00 00 04 00 04 |..... . |.A......|
|00002220| 00 00 16 a3 a0 00 10 00 | 00 02 07 90 00 00 02 08 |........|........|
|00002230| 00 00 49 20 00 00 00 01 | 02 00 01 04 10 00 00 00 |..I ....|........|
|00002240| 90 00 00 00 01 18 00 01 | 80 00 00 41 00 40 10 01 |........|...A.@..|
|00002250| 00 04 80 18 40 00 40 00 | 20 11 00 00 00 20 8c 00 |....@.@.| .... ..|
|00002260| 00 42 42 00 00 08 00 20 | 00 00 08 02 00 00 40 00 |.BB.... |......@.|
|00002270| 40 20 00 04 00 10 08 00 | 00 00 09 84 a0 20 10 00 |@ ......|..... ..|
|00002280| 00 01 20 14 20 02 02 30 | 00 86 4a 41 00 00 8a 00 |.. . ..0|..JA....|
|00002290| 00 01 4d 20 02 00 00 04 | 90 00 00 00 01 a8 02 00 |..M ....|........|
|000022a0| 81 00 02 01 00 00 00 01 | 01 45 44 80 c4 10 00 00 |........|.ED.....|
|000022b0| 00 51 00 00 01 12 8c 10 | 87 00 10 00 10 48 00 14 |.Q......|.....H..|
|000022c0| 21 00 08 00 00 01 14 40 | 00 0a 00 00 11 b0 08 00 |!......@|........|
|000022d0| 00 00 14 9d e0 7f ff fe | 2b df bf ff 7f f7 af fd |........|+.......|
|000022e0| 9f df ef ff ed ff bf db | f7 f9 ff ff ff f1 f3 df |........|........|
|000022f0| df ff 8f ff f1 fb 76 fd | ff ff d3 ef ef ff f9 df |......v.|........|
|00002300| cf ff fc fd ff dd fb bb | fd f7 bf ff ff ff fd ff |........|........|
|00002310| ff fe 7f 7f 7b ff 5f fd | ef ff ef bf 7f fb df 79 |....{._.|.......y|
|00002320| ff ff ef 77 7f fd ba bc | 00 00 00 00 00 00 00 00 |...w....|........|
|00002330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002900| 00 00 59 20 42 4b 47 44 | 00 00 0a 6e 00 00 00 00 |..Y BKGD|...n....|
|00002910| 00 00 0c 8d 00 00 00 00 | 00 00 00 04 00 00 13 e2 |........|........|
|00002920| 00 00 0e 2f 00 11 00 57 | 00 00 18 7a 00 00 00 00 |.../...W|...z....|
|00002930| 00 00 04 22 00 01 01 00 | 00 2b 01 7d 00 3c 01 ed |..."....|.+.}.<..|
|00002940| a0 03 00 00 00 00 00 00 | 00 00 00 0c 00 00 00 10 |........|........|
|00002950| 4f 70 65 6e 2e 2e 2e 00 | 00 2d 2d 20 43 6f 70 79 |Open....|.-- Copy|
|00002960| 72 69 67 68 74 20 a9 20 | 31 39 39 30 2c 20 31 39 |right . |1990, 19|
|00002970| 39 31 20 41 6c 64 75 73 | 20 43 6f 72 70 6f 72 61 |91 Aldus| Corpora|
|00002980| 74 69 6f 6e 2e 0d 2d 2d | 20 41 6c 6c 20 52 69 67 |tion..--| All Rig|
|00002990| 68 74 73 20 52 65 73 65 | 72 76 65 64 2e 0d 0d 6f |hts Rese|rved...o|
|000029a0| 6e 20 6d 6f 75 73 65 55 | 70 0d 2d 2d 20 4f 70 65 |n mouseU|p.-- Ope|
|000029b0| 6e 20 61 20 50 44 58 20 | 66 69 6c 65 20 63 68 6f |n a PDX |file cho|
|000029c0| 73 65 6e 20 62 79 20 74 | 68 65 20 75 73 65 72 2c |sen by t|he user,|
|000029d0| 20 61 6e 64 20 73 65 74 | 20 75 70 20 74 6f 20 65 | and set| up to e|
|000029e0| 64 69 74 20 69 74 73 20 | 64 61 74 61 2e 0d 2d 2d |dit its |data..--|
|000029f0| 20 20 20 49 66 20 61 20 | 66 69 6c 65 20 69 73 20 | If a |file is |
|00002a00| 61 6c 72 65 61 64 79 20 | 6f 70 65 6e 65 64 2c 20 |already |opened, |
|00002a10| 61 6e 64 20 69 74 73 20 | 64 61 74 61 20 62 65 65 |and its |data bee|
|00002a20| 6e 20 65 64 69 74 74 65 | 64 2c 20 74 68 69 73 0d |n editte|d, this.|
|00002a30| 2d 2d 20 20 20 68 61 6e | 64 6c 65 72 20 77 69 6c |-- han|dler wil|
|00002a40| 6c 20 6d 61 6b 65 20 73 | 75 72 65 20 74 68 65 20 |l make s|ure the |
|00002a50| 63 68 61 6e 67 65 73 20 | 61 72 65 20 73 61 76 65 |changes |are save|
|00002a60| 64 20 28 69 66 20 74 68 | 65 20 75 73 65 72 20 77 |d (if th|e user w|
|00002a70| 61 6e 74 73 29 2e 0d 67 | 6c 6f 62 61 6c 20 70 64 |ants)..g|lobal pd|
|00002a80| 78 46 69 6c 65 0d 2d 2d | 0d 69 66 20 74 68 65 46 |xFile.--|.if theF|
|00002a90| 69 6c 65 53 74 61 74 65 | 28 22 22 29 20 3c 3e 20 |ileState|("") <> |
|00002aa0| 22 4e 6f 46 69 6c 65 22 | 20 74 68 65 6e 0d 63 68 |"NoFile"| then.ch|
|00002ab0| 61 6e 67 65 73 43 68 65 | 63 6b 50 6f 69 6e 74 20 |angesChe|ckPoint |
|00002ac0| 2d 2d 20 6d 61 79 20 65 | 78 69 74 20 61 74 20 74 |-- may e|xit at t|
|00002ad0| 68 69 73 20 70 6f 69 6e | 74 0d 73 65 74 46 69 6c |his poin|t.setFil|
|00002ae0| 65 53 74 61 74 65 20 22 | 4e 6f 46 69 6c 65 22 0d |eState "|NoFile".|
|00002af0| 65 6e 64 20 69 66 0d 64 | 6f 55 73 65 72 50 72 6f |end if.d|oUserPro|
|00002b00| 6d 70 74 20 22 4c 6f 63 | 61 74 65 46 69 6c 65 50 |mpt "Loc|ateFileP|
|00002b10| 72 6f 6d 70 74 22 0d 70 | 75 74 20 46 69 6c 65 4e |rompt".p|ut FileN|
|00002b20| 61 6d 65 28 22 54 45 58 | 54 22 29 20 69 6e 74 6f |ame("TEX|T") into|
|00002b30| 20 6e 65 77 66 69 6c 65 | 0d 67 6f 20 74 68 69 73 | newfile|.go this|
|00002b40| 20 63 64 20 20 2d 2d 20 | 74 6f 20 6d 61 6b 65 20 | cd -- |to make |
|00002b50| 73 75 72 65 20 73 63 72 | 65 65 6e 20 69 73 20 72 |sure scr|een is r|
|00002b60| 65 66 72 65 73 68 65 64 | 0d 69 66 20 6e 65 77 66 |efreshed|.if newf|
|00002b70| 69 6c 65 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ile is e|mpty the|
|00002b80| 6e 0d 64 6f 55 73 65 72 | 50 72 6f 6d 70 74 0d 65 |n.doUser|Prompt.e|
|00002b90| 78 69 74 20 6d 6f 75 73 | 65 55 70 0d 65 6e 64 20 |xit mous|eUp.end |
|00002ba0| 69 66 0d 2d 2d 20 20 70 | 75 74 20 6c 65 6e 67 74 |if.-- p|ut lengt|
|00002bb0| 68 20 6f 66 20 6e 65 77 | 66 69 6c 65 20 69 6e 74 |h of new|file int|
|00002bc0| 6f 20 4c 0d 2d 2d 20 20 | 69 66 20 28 20 63 68 61 |o L.-- |if ( cha|
|00002bd0| 72 20 4c 2d 33 20 74 6f | 20 4c 20 6f 66 20 6e 65 |r L-3 to| L of ne|
|00002be0| 77 66 69 6c 65 20 3c 3e | 20 22 2e 50 44 58 22 20 |wfile <>| ".PDX" |
|00002bf0| 29 20 61 6e 64 20 c2 0d | 2d 2d 20 20 28 20 63 68 |) and ..|-- ( ch|
|00002c00| 61 72 20 4c 2d 33 20 74 | 6f 20 4c 20 6f 66 20 6e |ar L-3 t|o L of n|
|00002c10| 65 77 66 69 6c 65 20 3c | 3e 20 22 2e 70 64 78 22 |ewfile <|> ".pdx"|
|00002c20| 20 29 0d 2d 2d 20 20 74 | 68 65 6e 20 70 64 78 45 | ).-- t|hen pdxE|
|00002c30| 72 72 6f 72 20 22 42 61 | 64 46 69 6c 65 4e 61 6d |rror "Ba|dFileNam|
|00002c40| 65 45 72 72 6f 72 22 0d | 2d 2d 20 20 6f 70 65 6e |eError".|-- open|
|00002c50| 20 66 69 6c 65 20 6e 65 | 77 66 69 6c 65 0d 2d 2d | file ne|wfile.--|
|00002c60| 20 20 72 65 61 64 20 66 | 72 6f 6d 20 66 69 6c 65 | read f|rom file|
|00002c70| 20 6e 65 77 66 69 6c 65 | 20 66 6f 72 20 31 0d 2d | newfile| for 1.-|
|00002c80| 2d 20 20 69 66 20 69 74 | 20 69 73 20 65 6d 70 74 |- if it| is empt|
|00002c90| 79 20 74 68 65 6e 20 70 | 64 78 45 72 72 6f 72 20 |y then p|dxError |
|00002ca0| 22 45 6d 70 74 79 46 69 | 6c 65 45 72 72 6f 72 22 |"EmptyFi|leError"|
|00002cb0| 0d 2d 2d 20 20 63 6c 6f | 73 65 20 66 69 6c 65 20 |.-- clo|se file |
|00002cc0| 6e 65 77 66 69 6c 65 0d | 69 66 20 76 61 6c 69 64 |newfile.|if valid|
|00002cd0| 61 74 65 46 69 6c 65 28 | 6e 65 77 66 69 6c 65 2c |ateFile(|newfile,|
|00002ce0| 22 2e 50 44 58 22 2c 22 | 2e 70 64 78 22 29 20 74 |".PDX","|.pdx") t|
|00002cf0| 68 65 6e 0d 70 75 74 20 | 6e 65 77 66 69 6c 65 20 |hen.put |newfile |
|00002d00| 69 6e 74 6f 20 70 64 78 | 46 69 6c 65 0d 73 65 74 |into pdx|File.set|
|00002d10| 46 69 6c 65 53 74 61 74 | 65 20 22 4f 70 65 6e 22 |FileStat|e "Open"|
|00002d20| 0d 65 6c 73 65 0d 70 64 | 78 45 72 72 6f 72 20 22 |.else.pd|xError "|
|00002d30| 45 6d 70 74 79 46 69 6c | 65 45 72 72 6f 72 22 0d |EmptyFil|eError".|
|00002d40| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6d 6f 75 73 65 |end if.e|nd mouse|
|00002d50| 55 70 00 00 01 78 00 0e | 01 00 00 3f 01 7d 00 50 |Up...x..|...?.}.P|
|00002d60| 01 ef 80 03 00 00 00 00 | 00 00 00 ad 00 0c 00 00 |........|........|
|00002d70| 00 10 43 6c 6f 73 65 00 | 00 2d 2d 20 43 6f 70 79 |..Close.|.-- Copy|
|00002d80| 72 69 67 68 74 20 a9 20 | 31 39 39 30 2c 20 31 39 |right . |1990, 19|
|00002d90| 39 31 20 41 6c 64 75 73 | 20 43 6f 72 70 6f 72 61 |91 Aldus| Corpora|
|00002da0| 74 69 6f 6e 2e 0d 2d 2d | 20 41 6c 6c 20 52 69 67 |tion..--| All Rig|
|00002db0| 68 74 73 20 52 65 73 65 | 72 76 65 64 2e 0d 0d 6f |hts Rese|rved...o|
|00002dc0| 6e 20 6d 6f 75 73 65 55 | 70 0d 2d 2d 20 43 6c 6f |n mouseU|p.-- Clo|
|00002dd0| 73 65 20 74 68 65 20 50 | 44 58 20 66 69 6c 65 2e |se the P|DX file.|
|00002de0| 20 49 66 20 69 74 73 20 | 64 61 74 61 20 62 65 65 | If its |data bee|
|00002df0| 6e 20 65 64 69 74 74 65 | 64 2c 20 74 68 69 73 20 |n editte|d, this |
|00002e00| 68 61 6e 64 6c 65 72 20 | 77 69 6c 6c 0d 2d 2d 20 |handler |will.-- |
|00002e10| 20 6d 61 6b 65 20 73 75 | 72 65 20 74 68 65 20 63 | make su|re the c|
|00002e20| 68 61 6e 67 65 73 20 61 | 72 65 20 73 61 76 65 64 |hanges a|re saved|
|00002e30| 20 28 69 66 20 74 68 65 | 20 75 73 65 72 20 77 61 | (if the| user wa|
|00002e40| 6e 74 73 29 2e 0d 2d 2d | 0d 69 66 20 6e 6f 74 20 |nts)..--|.if not |
|00002e50| 61 75 74 6f 68 69 6c 69 | 74 65 20 6f 66 20 6d 65 |autohili|te of me|
|00002e60| 20 74 68 65 6e 20 65 78 | 69 74 20 6d 6f 75 73 65 | then ex|it mouse|
|00002e70| 55 70 0d 63 68 61 6e 67 | 65 73 43 68 65 63 6b 50 |Up.chang|esCheckP|
|00002e80| 6f 69 6e 74 0d 73 65 74 | 46 69 6c 65 53 74 61 74 |oint.set|FileStat|
|00002e90| 65 20 22 4e 6f 46 69 6c | 65 22 0d 76 69 73 75 61 |e "NoFil|e".visua|
|00002ea0| 6c 20 65 66 66 65 63 74 | 20 7a 6f 6f 6d 20 63 6c |l effect| zoom cl|
|00002eb0| 6f 73 65 0d 67 6f 20 74 | 68 69 73 20 63 64 0d 65 |ose.go t|his cd.e|
|00002ec0| 6e 64 20 6d 6f 75 73 65 | 55 70 00 00 01 1c 00 0f |nd mouse|Up......|
|00002ed0| 01 00 00 53 01 7d 00 64 | 01 ef 80 03 00 00 00 00 |...S.}.d|........|
|00002ee0| 00 00 00 ad 00 0c 00 00 | 00 10 53 61 76 65 00 00 |........|..Save..|
|00002ef0| 2d 2d 20 43 6f 70 79 72 | 69 67 68 74 20 a9 20 31 |-- Copyr|ight . 1|
|00002f00| 39 39 30 2c 20 31 39 39 | 31 20 41 6c 64 75 73 20 |990, 199|1 Aldus |
|00002f10| 43 6f 72 70 6f 72 61 74 | 69 6f 6e 2e 0d 2d 2d 20 |Corporat|ion..-- |
|00002f20| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|00002f30| 76 65 64 2e 0d 0d 6f 6e | 20 6d 6f 75 73 65 55 70 |ved...on| mouseUp|
|00002f40| 0d 2d 2d 20 53 61 76 65 | 20 74 68 65 20 63 75 72 |.-- Save| the cur|
|00002f50| 72 65 6e 74 20 64 61 74 | 61 20 74 6f 20 74 68 65 |rent dat|a to the|
|00002f60| 20 50 44 58 20 66 69 6c | 65 2e 0d 2d 2d 0d 69 66 | PDX fil|e..--.if|
|00002f70| 20 6e 6f 74 20 61 75 74 | 6f 68 69 6c 69 74 65 20 | not aut|ohilite |
|00002f80| 6f 66 20 6d 65 20 74 68 | 65 6e 20 65 78 69 74 20 |of me th|en exit |
|00002f90| 6d 6f 75 73 65 55 70 0d | 70 75 74 43 61 72 64 44 |mouseUp.|putCardD|
|00002fa0| 61 74 61 0d 69 66 20 74 | 68 65 46 69 6c 65 53 74 |ata.if t|heFileSt|
|00002fb0| 61 74 65 28 22 22 29 20 | 3c 3e 20 22 4f 70 65 6e |ate("") |<> "Open|
|00002fc0| 22 20 74 68 65 6e 20 73 | 65 74 46 69 6c 65 53 74 |" then s|etFileSt|
|00002fd0| 61 74 65 20 22 4f 70 65 | 6e 22 0d 65 6e 64 20 6d |ate "Ope|n".end m|
|00002fe0| 6f 75 73 65 55 70 0d 00 | 01 20 00 12 01 00 00 8f |ouseUp..|. ......|
|00002ff0| 01 7d 00 a0 01 ef a0 03 | 00 00 00 00 00 00 00 00 |.}......|........|
|00003000| 00 0c 00 00 00 10 41 62 | 6f 75 74 00 00 2d 2d 20 |......Ab|out..-- |
|00003010| 43 6f 70 79 72 69 67 68 | 74 20 a9 20 31 39 39 30 |Copyrigh|t . 1990|
|00003020| 2c 20 31 39 39 31 20 41 | 6c 64 75 73 20 43 6f 72 |, 1991 A|ldus Cor|
|00003030| 70 6f 72 61 74 69 6f 6e | 2e 0d 2d 2d 20 41 6c 6c |poration|..-- All|
|00003040| 20 52 69 67 68 74 73 20 | 52 65 73 65 72 76 65 64 | Rights |Reserved|
|00003050| 2e 0d 0d 6f 6e 20 6d 6f | 75 73 65 55 70 0d 2d 2d |...on mo|useUp.--|
|00003060| 20 47 6f 20 74 6f 20 74 | 68 65 20 61 62 6f 75 74 | Go to t|he about|
|00003070| 20 63 61 72 64 0d 2d 2d | 0d 73 68 6f 77 20 63 64 | card.--|.show cd|
|00003080| 20 62 74 6e 20 69 64 20 | 33 20 6f 66 20 63 64 20 | btn id |3 of cd |
|00003090| 22 47 72 65 65 74 69 6e | 67 22 20 2d 2d 20 22 4f |"Greetin|g" -- "O|
|000030a0| 4b 22 0d 73 68 6f 77 20 | 63 64 20 62 74 6e 20 69 |K".show |cd btn i|
|000030b0| 64 20 34 20 6f 66 20 63 | 64 20 22 47 72 65 65 74 |d 4 of c|d "Greet|
|000030c0| 69 6e 67 22 20 2d 2d 20 | 22 48 65 6c 70 2e 2e 2e |ing" -- |"Help...|
|000030d0| 22 0d 76 69 73 75 61 6c | 20 65 66 66 65 63 74 20 |".visual| effect |
|000030e0| 7a 6f 6f 6d 20 6f 70 65 | 6e 0d 67 6f 20 63 64 20 |zoom ope|n.go cd |
|000030f0| 22 47 72 65 65 74 69 6e | 67 22 0d 65 6e 64 20 6d |"Greetin|g".end m|
|00003100| 6f 75 73 65 55 70 0d 00 | 00 f0 00 13 01 00 00 a3 |ouseUp..|........|
|00003110| 01 7d 00 b4 01 ef a0 03 | 00 00 00 00 00 00 00 00 |.}......|........|
|00003120| 00 0c 00 00 00 10 48 65 | 6c 70 00 00 2d 2d 20 43 |......He|lp..-- C|
|00003130| 6f 70 79 72 69 67 68 74 | 20 a9 20 31 39 39 30 2c |opyright| . 1990,|
|00003140| 20 31 39 39 31 20 41 6c | 64 75 73 20 43 6f 72 70 | 1991 Al|dus Corp|
|00003150| 6f 72 61 74 69 6f 6e 2e | 0d 2d 2d 20 41 6c 6c 20 |oration.|.-- All |
|00003160| 52 69 67 68 74 73 20 52 | 65 73 65 72 76 65 64 2e |Rights R|eserved.|
|00003170| 0d 0d 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 2d 2d 20 |..on mou|seUp.-- |
|00003180| 47 6f 20 74 6f 20 74 68 | 65 20 48 65 6c 70 20 63 |Go to th|e Help c|
|00003190| 61 72 64 2e 0d 2d 2d 20 | 54 48 49 53 20 48 41 4e |ard..-- |THIS HAN|
|000031a0| 44 4c 45 52 20 4d 41 59 | 20 4e 45 45 44 20 54 4f |DLER MAY| NEED TO|
|000031b0| 20 42 45 20 4c 4f 43 41 | 4c 49 5a 45 44 21 0d 2d | BE LOCA|LIZED!.-|
|000031c0| 2d 0d 64 6f 4d 65 6e 75 | 20 22 48 65 6c 70 22 20 |-.doMenu| "Help" |
|000031d0| 2d 2d 20 74 72 61 70 70 | 65 64 20 69 6e 20 73 74 |-- trapp|ed in st|
|000031e0| 61 63 6b 20 73 63 72 69 | 70 74 0d 65 6e 64 20 6d |ack scri|pt.end m|
|000031f0| 6f 75 73 65 55 70 0d 00 | 00 fc 00 18 01 00 01 07 |ouseUp..|........|
|00003200| 01 7d 01 18 01 ef a0 03 | 00 00 00 00 00 00 00 00 |.}......|........|
|00003210| 00 0c 00 00 00 10 51 75 | 69 74 00 00 2d 2d 20 43 |......Qu|it..-- C|
|00003220| 6f 70 79 72 69 67 68 74 | 20 a9 20 31 39 39 30 2c |opyright| . 1990,|
|00003230| 20 31 39 39 31 20 41 6c | 64 75 73 20 43 6f 72 70 | 1991 Al|dus Corp|
|00003240| 6f 72 61 74 69 6f 6e 2e | 0d 2d 2d 20 41 6c 6c 20 |oration.|.-- All |
|00003250| 52 69 67 68 74 73 20 52 | 65 73 65 72 76 65 64 2e |Rights R|eserved.|
|00003260| 0d 0d 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 2d 2d 20 |..on mou|seUp.-- |
|00003270| 43 6c 6f 73 65 20 64 6f | 77 6e 20 74 68 65 20 73 |Close do|wn the s|
|00003280| 74 61 63 6b 2e 0d 2d 2d | 20 54 48 49 53 20 48 41 |tack..--| THIS HA|
|00003290| 4e 44 4c 45 52 20 4d 41 | 59 20 4e 45 45 44 20 54 |NDLER MA|Y NEED T|
|000032a0| 4f 20 42 45 20 4c 4f 43 | 41 4c 49 5a 45 44 21 0d |O BE LOC|ALIZED!.|
|000032b0| 64 6f 4d 65 6e 75 20 22 | 51 75 69 74 20 48 79 70 |doMenu "|Quit Hyp|
|000032c0| 65 72 43 61 72 64 22 20 | 2d 2d 20 74 72 61 70 70 |erCard" |-- trapp|
|000032d0| 65 64 20 69 6e 20 74 68 | 65 20 73 74 61 63 6b 20 |ed in th|e stack |
|000032e0| 73 63 72 69 70 74 0d 65 | 6e 64 20 6d 6f 75 73 65 |script.e|nd mouse|
|000032f0| 55 70 0d 00 01 04 00 1c | 01 00 00 f2 00 08 01 02 |Up......|........|
|00003300| 00 bb c0 06 00 00 00 00 | 00 00 00 00 00 0c 00 00 |........|........|
|00003310| 00 10 43 61 6c 69 62 72 | 61 74 69 6f 6e 00 00 2d |..Calibr|ation..-|
|00003320| 2d 20 43 6f 70 79 72 69 | 67 68 74 20 a9 20 31 39 |- Copyri|ght . 19|
|00003330| 39 30 2c 20 31 39 39 31 | 20 41 6c 64 75 73 20 43 |90, 1991| Aldus C|
|00003340| 6f 72 70 6f 72 61 74 69 | 6f 6e 2e 0d 2d 2d 20 41 |orporati|on..-- A|
|00003350| 6c 6c 20 52 69 67 68 74 | 73 20 52 65 73 65 72 76 |ll Right|s Reserv|
|00003360| 65 64 2e 0d 0d 6f 6e 20 | 6d 6f 75 73 65 55 70 0d |ed...on |mouseUp.|
|00003370| 73 65 74 20 68 69 6c 69 | 74 65 20 6f 66 20 6d 65 |set hili|te of me|
|00003380| 20 74 6f 20 74 72 75 65 | 0d 67 6f 4d 6f 64 65 28 | to true|.goMode(|
|00003390| 20 22 43 61 6c 69 62 72 | 61 74 65 22 20 29 0d 69 | "Calibr|ate" ).i|
|000033a0| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|000033b0| 22 43 61 6e 63 65 6c 22 | 20 74 68 65 6e 0d 73 65 |"Cancel"| then.se|
|000033c0| 74 20 68 69 6c 69 74 65 | 20 6f 66 20 6d 65 20 74 |t hilite| of me t|
|000033d0| 6f 20 66 61 6c 73 65 0d | 65 78 69 74 20 6d 6f 75 |o false.|exit mou|
|000033e0| 73 65 55 70 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |seUp.end| if.end |
|000033f0| 6d 6f 75 73 65 55 70 00 | 01 00 00 1d 01 00 01 07 |mouseUp.|........|
|00003400| 00 08 01 17 00 bb 80 06 | 00 00 00 00 00 00 00 00 |........|........|
|00003410| 00 0c 00 00 00 10 50 61 | 70 65 72 20 73 69 7a 65 |......Pa|per size|
|00003420| 73 00 00 2d 2d 20 43 6f | 70 79 72 69 67 68 74 20 |s..-- Co|pyright |
|00003430| a9 20 31 39 39 30 2c 20 | 31 39 39 31 20 41 6c 64 |. 1990, |1991 Ald|
|00003440| 75 73 20 43 6f 72 70 6f | 72 61 74 69 6f 6e 2e 0d |us Corpo|ration..|
|00003450| 2d 2d 20 41 6c 6c 20 52 | 69 67 68 74 73 20 52 65 |-- All R|ights Re|
|00003460| 73 65 72 76 65 64 2e 0d | 0d 6f 6e 20 6d 6f 75 73 |served..|.on mous|
|00003470| 65 55 70 0d 73 65 74 20 | 68 69 6c 69 74 65 20 6f |eUp.set |hilite o|
|00003480| 66 20 6d 65 20 74 6f 20 | 74 72 75 65 0d 67 6f 4d |f me to |true.goM|
|00003490| 6f 64 65 28 20 22 50 61 | 70 65 72 22 20 29 0d 69 |ode( "Pa|per" ).i|
|000034a0| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|000034b0| 22 43 61 6e 63 65 6c 22 | 20 74 68 65 6e 0d 73 65 |"Cancel"| then.se|
|000034c0| 74 20 68 69 6c 69 74 65 | 20 6f 66 20 6d 65 20 74 |t hilite| of me t|
|000034d0| 6f 20 66 61 6c 73 65 0d | 65 78 69 74 20 6d 6f 75 |o false.|exit mou|
|000034e0| 73 65 55 70 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |seUp.end| if.end |
|000034f0| 6d 6f 75 73 65 55 70 00 | 00 fa 00 1e 01 00 01 07 |mouseUp.|........|
|00003500| 00 ba 01 17 01 74 80 06 | 00 00 00 00 00 00 00 00 |.....t..|........|
|00003510| 00 0c 00 00 00 10 46 6f | 6e 74 73 00 00 2d 2d 20 |......Fo|nts..-- |
|00003520| 43 6f 70 79 72 69 67 68 | 74 20 a9 20 31 39 39 30 |Copyrigh|t . 1990|
|00003530| 2c 20 31 39 39 31 20 41 | 6c 64 75 73 20 43 6f 72 |, 1991 A|ldus Cor|
|00003540| 70 6f 72 61 74 69 6f 6e | 2e 0d 2d 2d 20 41 6c 6c |poration|..-- All|
|00003550| 20 52 69 67 68 74 73 20 | 52 65 73 65 72 76 65 64 | Rights |Reserved|
|00003560| 2e 0d 0d 6f 6e 20 6d 6f | 75 73 65 55 70 0d 73 65 |...on mo|useUp.se|
|00003570| 74 20 68 69 6c 69 74 65 | 20 6f 66 20 6d 65 20 74 |t hilite| of me t|
|00003580| 6f 20 74 72 75 65 0d 67 | 6f 4d 6f 64 65 28 20 22 |o true.g|oMode( "|
|00003590| 46 6f 6e 74 73 22 20 29 | 0d 69 66 20 74 68 65 20 |Fonts" )|.if the |
|000035a0| 72 65 73 75 6c 74 20 69 | 73 20 22 43 61 6e 63 65 |result i|s "Cance|
|000035b0| 6c 22 20 74 68 65 6e 0d | 73 65 74 20 68 69 6c 69 |l" then.|set hili|
|000035c0| 74 65 20 6f 66 20 6d 65 | 20 74 6f 20 66 61 6c 73 |te of me| to fals|
|000035d0| 65 0d 65 78 69 74 20 6d | 6f 75 73 65 55 70 0d 65 |e.exit m|ouseUp.e|
|000035e0| 6e 64 20 69 66 0d 65 6e | 64 20 6d 6f 75 73 65 55 |nd if.en|d mouseU|
|000035f0| 70 00 00 28 00 1f 02 01 | 01 1f 00 0a 01 51 01 78 |p..(....|.....Q.x|
|00003600| 00 00 00 00 00 00 00 00 | 00 03 00 0c 20 00 00 10 |........|.... ...|
|00003610| 50 72 6f 6d 70 74 00 00 | 00 00 01 2a 00 21 02 a6 |Prompt..|...*.!..|
|00003620| 00 30 00 88 00 41 01 75 | 00 02 00 00 00 00 00 00 |.0...A.u|........|
|00003630| 00 00 00 0c 00 00 00 10 | 4e 69 63 6b 4e 61 6d 65 |........|NickName|
|00003640| 00 00 2d 2d 20 43 6f 70 | 79 72 69 67 68 74 20 a9 |..-- Cop|yright .|
|00003650| 20 31 39 39 30 2c 20 31 | 39 39 31 20 41 6c 64 75 | 1990, 1|991 Aldu|
|00003660| 73 20 43 6f 72 70 6f 72 | 61 74 69 6f 6e 2e 0d 2d |s Corpor|ation..-|
|00003670| 2d 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 |- All Ri|ghts Res|
|00003680| 65 72 76 65 64 2e 0d 6f | 6e 20 63 6c 6f 73 65 46 |erved..o|n closeF|
|00003690| 69 65 6c 64 0d 67 6c 6f | 62 61 6c 20 67 4e 69 63 |ield.glo|bal gNic|
|000036a0| 6b 4e 61 6d 65 2c 20 67 | 4e 69 63 6b 4e 61 6d 65 |kName, g|NickName|
|000036b0| 43 68 61 6e 67 65 64 0d | 70 75 74 20 6c 69 6e 65 |Changed.|put line|
|000036c0| 20 31 20 6f 66 20 62 67 | 20 66 69 65 6c 64 20 4e | 1 of bg| field N|
|000036d0| 69 63 6b 4e 61 6d 65 20 | 69 6e 74 6f 20 74 65 6d |ickName |into tem|
|000036e0| 70 4e 4e 0d 70 75 74 20 | 74 72 75 65 20 69 6e 74 |pNN.put |true int|
|000036f0| 6f 20 67 4e 69 63 6b 4e | 61 6d 65 43 68 61 6e 67 |o gNickN|ameChang|
|00003700| 65 64 0d 70 75 74 20 74 | 65 6d 70 4e 4e 20 69 6e |ed.put t|empNN in|
|00003710| 74 6f 20 67 4e 69 63 6b | 4e 61 6d 65 0d 73 65 74 |to gNick|Name.set|
|00003720| 46 69 6c 65 53 74 61 74 | 65 20 22 43 68 61 6e 67 |FileStat|e "Chang|
|00003730| 65 64 22 0d 65 6e 64 20 | 63 6c 6f 73 65 46 69 65 |ed".end |closeFie|
|00003740| 6c 64 0d 00 04 00 00 50 | 01 00 00 67 01 7d 00 78 |ld.....P|...g.}.x|
|00003750| 01 ef 80 03 00 00 00 00 | 00 00 00 ad 00 0c 00 00 |........|........|
|00003760| 00 10 53 61 76 65 20 61 | 73 2e 2e 2e 00 00 2d 2d |..Save a|s.....--|
|00003770| 20 43 6f 70 79 72 69 67 | 68 74 20 a9 20 31 39 39 | Copyrig|ht . 199|
|00003780| 30 2c 20 31 39 39 31 20 | 41 6c 64 75 73 20 43 6f |0, 1991 |Aldus Co|
|00003790| 72 70 6f 72 61 74 69 6f | 6e 2e 0d 2d 2d 20 41 6c |rporatio|n..-- Al|
|000037a0| 6c 20 52 69 67 68 74 73 | 20 52 65 73 65 72 76 65 |l Rights| Reserve|
|000037b0| 64 2e 0d 0d 6f 6e 20 6d | 6f 75 73 65 55 70 0d 2d |d...on m|ouseUp.-|
|000037c0| 2d 20 53 61 76 65 20 74 | 68 65 20 63 75 72 72 65 |- Save t|he curre|
|000037d0| 6e 74 20 64 61 74 61 20 | 74 6f 20 61 6e 6f 74 68 |nt data |to anoth|
|000037e0| 65 72 20 66 69 6c 65 20 | 6f 66 20 74 68 65 20 75 |er file |of the u|
|000037f0| 73 65 72 27 73 20 63 68 | 6f 6f 73 69 6e 67 2e 0d |ser's ch|oosing..|
|00003800| 2d 2d 0d 67 6c 6f 62 61 | 6c 20 70 64 78 46 69 6c |--.globa|l pdxFil|
|00003810| 65 0d 69 66 20 6e 6f 74 | 20 61 75 74 6f 68 69 6c |e.if not| autohil|
|00003820| 69 74 65 20 6f 66 20 6d | 65 20 74 68 65 6e 20 65 |ite of m|e then e|
|00003830| 78 69 74 20 6d 6f 75 73 | 65 55 70 0d 72 65 70 65 |xit mous|eUp.repe|
|00003840| 61 74 0d 67 65 74 20 4e | 65 77 46 69 6c 65 4e 61 |at.get N|ewFileNa|
|00003850| 6d 65 28 20 22 22 2c 20 | 4c 61 73 74 50 61 74 68 |me( "", |LastPath|
|00003860| 4e 61 6d 65 28 20 70 64 | 78 46 69 6c 65 20 29 20 |Name( pd|xFile ) |
|00003870| 29 0d 69 66 20 69 74 20 | 69 73 20 65 6d 70 74 79 |).if it |is empty|
|00003880| 20 74 68 65 6e 20 65 78 | 69 74 20 6d 6f 75 73 65 | then ex|it mouse|
|00003890| 55 70 20 65 6c 73 65 20 | 70 75 74 20 69 74 20 69 |Up else |put it i|
|000038a0| 6e 74 6f 20 6e 65 77 46 | 69 6c 65 0d 70 75 74 20 |nto newF|ile.put |
|000038b0| 6c 65 6e 67 74 68 20 6f | 66 20 6e 65 77 66 69 6c |length o|f newfil|
|000038c0| 65 20 69 6e 74 6f 20 4c | 0d 69 66 20 28 20 63 68 |e into L|.if ( ch|
|000038d0| 61 72 20 4c 2d 33 20 74 | 6f 20 4c 20 6f 66 20 6e |ar L-3 t|o L of n|
|000038e0| 65 77 66 69 6c 65 20 3d | 20 22 2e 50 44 58 22 20 |ewfile =| ".PDX" |
|000038f0| 29 20 6f 72 20 c2 0d 28 | 20 63 68 61 72 20 4c 2d |) or ..(| char L-|
|00003900| 33 20 74 6f 20 4c 20 6f | 66 20 6e 65 77 66 69 6c |3 to L o|f newfil|
|00003910| 65 20 3d 20 22 2e 70 64 | 78 22 20 29 20 74 68 65 |e = ".pd|x" ) the|
|00003920| 6e 20 65 78 69 74 20 72 | 65 70 65 61 74 0d 67 65 |n exit r|epeat.ge|
|00003930| 74 20 70 64 78 41 6c 65 | 72 74 28 20 42 61 64 53 |t pdxAle|rt( BadS|
|00003940| 61 76 65 41 73 4e 61 6d | 65 41 6c 65 72 74 2c 43 |aveAsNam|eAlert,C|
|00003950| 61 6e 63 65 6c 49 74 65 | 6d 2c 4f 4b 49 74 65 6d |ancelIte|m,OKItem|
|00003960| 20 29 0d 69 66 20 69 74 | 20 3d 20 74 72 61 6e 73 | ).if it| = trans|
|00003970| 6c 61 74 65 28 20 43 61 | 6e 63 65 6c 49 74 65 6d |late( Ca|ncelItem|
|00003980| 20 29 20 74 68 65 6e 20 | 65 78 69 74 20 6d 6f 75 | ) then |exit mou|
|00003990| 73 65 55 70 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |seUp.end| repeat.|
|000039a0| 69 66 20 6e 65 77 46 69 | 6c 65 20 3c 3e 20 70 64 |if newFi|le <> pd|
|000039b0| 78 46 69 6c 65 20 74 68 | 65 6e 0d 2d 2d 20 63 6f |xFile th|en.-- co|
|000039c0| 70 79 20 6f 6c 64 20 50 | 44 58 20 66 69 6c 65 20 |py old P|DX file |
|000039d0| 63 6f 6e 74 65 6e 74 73 | 20 74 6f 20 6e 65 77 20 |contents| to new |
|000039e0| 66 69 6c 65 2c 20 61 6e | 64 20 6d 61 6b 65 20 69 |file, an|d make i|
|000039f0| 74 20 74 68 65 0d 2d 2d | 20 63 75 72 72 65 6e 74 |t the.--| current|
|00003a00| 20 66 69 6c 65 0d 6f 70 | 65 6e 20 66 69 6c 65 20 | file.op|en file |
|00003a10| 70 64 78 46 69 6c 65 0d | 6f 70 65 6e 20 66 69 6c |pdxFile.|open fil|
|00003a20| 65 20 6e 65 77 46 69 6c | 65 0d 72 65 70 65 61 74 |e newFil|e.repeat|
|00003a30| 0d 72 65 61 64 20 66 72 | 6f 6d 20 66 69 6c 65 20 |.read fr|om file |
|00003a40| 70 64 78 46 69 6c 65 20 | 66 6f 72 20 31 36 33 38 |pdxFile |for 1638|
|00003a50| 34 0d 69 66 20 69 74 20 | 69 73 20 65 6d 70 74 79 |4.if it |is empty|
|00003a60| 20 74 68 65 6e 20 65 78 | 69 74 20 72 65 70 65 61 | then ex|it repea|
|00003a70| 74 0d 77 72 69 74 65 20 | 69 74 20 74 6f 20 66 69 |t.write |it to fi|
|00003a80| 6c 65 20 6e 65 77 46 69 | 6c 65 0d 65 6e 64 20 72 |le newFi|le.end r|
|00003a90| 65 70 65 61 74 0d 63 6c | 6f 73 65 20 66 69 6c 65 |epeat.cl|ose file|
|00003aa0| 20 6e 65 77 46 69 6c 65 | 0d 63 6c 6f 73 65 20 66 | newFile|.close f|
|00003ab0| 69 6c 65 20 70 64 78 46 | 69 6c 65 0d 70 75 74 20 |ile pdxF|ile.put |
|00003ac0| 6e 65 77 46 69 6c 65 20 | 69 6e 74 6f 20 70 64 78 |newFile |into pdx|
|00003ad0| 46 69 6c 65 0d 67 65 74 | 20 43 68 61 6e 67 65 46 |File.get| ChangeF|
|00003ae0| 69 6c 65 54 79 70 65 28 | 20 70 64 78 46 69 6c 65 |ileType(| pdxFile|
|00003af0| 2c 20 22 54 45 58 54 22 | 2c 20 22 3f 3f 3f 3f 22 |, "TEXT"|, "????"|
|00003b00| 20 29 0d 65 6e 64 20 69 | 66 0d 70 75 74 43 61 72 | ).end i|f.putCar|
|00003b10| 64 44 61 74 61 0d 65 6e | 61 62 6c 65 45 64 69 74 |dData.en|ableEdit|
|00003b20| 73 0d 73 65 74 46 69 6c | 65 53 74 61 74 65 20 22 |s.setFil|eState "|
|00003b30| 4f 70 65 6e 22 0d 65 6e | 64 20 6d 6f 75 73 65 55 |Open".en|d mouseU|
|00003b40| 70 0d 00 00 00 32 00 53 | 02 81 01 22 01 80 01 30 |p....2.S|..."...0|
|00003b50| 01 db 00 00 00 00 00 00 | 00 00 00 03 00 0c 00 00 |........|........|
|00003b60| 00 10 4f 70 65 6e 53 74 | 61 74 65 4d 6f 64 69 66 |..OpenSt|ateModif|
|00003b70| 69 65 72 00 00 00 03 1a | 00 54 02 85 00 1b 00 89 |ier.....|.T......|
|00003b80| 00 2c 01 75 00 00 00 00 | 00 00 00 00 00 00 00 0c |.,.u....|........|
|00003b90| 00 00 00 10 50 50 44 46 | 69 6c 65 4e 61 6d 65 00 |....PPDF|ileName.|
|00003ba0| 00 2d 2d 20 43 6f 70 79 | 72 69 67 68 74 20 a9 20 |.-- Copy|right . |
|00003bb0| 31 39 39 30 2c 20 31 39 | 39 31 20 41 6c 64 75 73 |1990, 19|91 Aldus|
|00003bc0| 20 43 6f 72 70 6f 72 61 | 74 69 6f 6e 2e 0d 2d 2d | Corpora|tion..--|
|00003bd0| 20 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 | All Rig|hts Rese|
|00003be0| 72 76 65 64 2e 0d 6f 6e | 20 63 6c 6f 73 65 46 69 |rved..on| closeFi|
|00003bf0| 65 6c 64 0d 67 6c 6f 62 | 61 6c 20 70 64 78 46 69 |eld.glob|al pdxFi|
|00003c00| 6c 65 0d 67 6c 6f 62 61 | 6c 20 67 50 50 44 46 69 |le.globa|l gPPDFi|
|00003c10| 6c 65 4e 61 6d 65 2c 20 | 67 50 50 44 46 69 6c 65 |leName, |gPPDFile|
|00003c20| 4e 61 6d 65 43 68 61 6e | 67 65 64 0d 0d 70 75 74 |NameChan|ged..put|
|00003c30| 20 70 61 74 68 4f 66 28 | 70 64 78 46 69 6c 65 29 | pathOf(|pdxFile)|
|00003c40| 20 69 6e 74 6f 20 74 65 | 6d 70 46 4e 0d 70 75 74 | into te|mpFN.put|
|00003c50| 20 6c 69 6e 65 20 31 20 | 6f 66 20 62 67 20 66 69 | line 1 |of bg fi|
|00003c60| 65 6c 64 20 50 50 44 46 | 69 6c 65 4e 61 6d 65 20 |eld PPDF|ileName |
|00003c70| 61 66 74 65 72 20 74 65 | 6d 70 46 4e 0d 69 66 20 |after te|mpFN.if |
|00003c80| 28 74 65 6d 70 46 4e 20 | 3c 3e 20 67 50 50 44 46 |(tempFN |<> gPPDF|
|00003c90| 69 6c 65 4e 61 6d 65 29 | 20 74 68 65 6e 0d 69 66 |ileName)| then.if|
|00003ca0| 20 76 61 6c 69 64 61 74 | 65 46 69 6c 65 28 74 65 | validat|eFile(te|
|00003cb0| 6d 70 46 4e 2c 22 2e 50 | 50 44 22 2c 22 2e 70 70 |mpFN,".P|PD",".pp|
|00003cc0| 64 22 29 20 74 68 65 6e | 0d 70 75 74 20 74 72 75 |d") then|.put tru|
|00003cd0| 65 20 69 6e 74 6f 20 67 | 50 50 44 46 69 6c 65 4e |e into g|PPDFileN|
|00003ce0| 61 6d 65 43 68 61 6e 67 | 65 64 0d 70 75 74 20 6c |ameChang|ed.put l|
|00003cf0| 69 6e 65 20 31 20 6f 66 | 20 62 67 20 66 69 65 6c |ine 1 of| bg fiel|
|00003d00| 64 20 50 50 44 46 69 6c | 65 4e 61 6d 65 20 69 6e |d PPDFil|eName in|
|00003d10| 74 6f 20 67 50 50 44 46 | 69 6c 65 4e 61 6d 65 0d |to gPPDF|ileName.|
|00003d20| 73 65 74 46 69 6c 65 53 | 74 61 74 65 20 22 43 68 |setFileS|tate "Ch|
|00003d30| 61 6e 67 65 64 22 0d 65 | 6c 73 65 0d 70 75 74 20 |anged".e|lse.put |
|00003d40| 67 50 50 44 46 69 6c 65 | 4e 61 6d 65 20 69 6e 74 |gPPDFile|Name int|
|00003d50| 6f 20 6c 69 6e 65 20 31 | 20 6f 66 20 62 67 20 66 |o line 1| of bg f|
|00003d60| 69 65 6c 64 20 50 50 44 | 46 69 6c 65 4e 61 6d 65 |ield PPD|FileName|
|00003d70| 0d 70 64 78 45 72 72 6f | 72 20 22 42 61 64 50 50 |.pdxErro|r "BadPP|
|00003d80| 44 45 72 72 6f 72 22 0d | 65 78 69 74 20 63 6c 6f |DError".|exit clo|
|00003d90| 73 65 46 69 65 6c 64 0d | 65 6e 64 20 69 66 0d 65 |seField.|end if.e|
|00003da0| 6e 64 20 69 66 0d 65 6e | 64 20 63 6c 6f 73 65 46 |nd if.en|d closeF|
|00003db0| 69 65 6c 64 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 70 |ield..fu|nction p|
|00003dc0| 61 74 68 4f 66 20 66 75 | 6c 6c 46 69 6c 65 53 70 |athOf fu|llFileSp|
|00003dd0| 65 63 0d 70 75 74 20 74 | 68 65 20 6c 65 6e 67 74 |ec.put t|he lengt|
|00003de0| 68 20 6f 66 20 66 75 6c | 6c 46 69 6c 65 53 70 65 |h of ful|lFileSpe|
|00003df0| 63 20 69 6e 74 6f 20 66 | 73 4c 65 6e 0d 70 75 74 |c into f|sLen.put|
|00003e00| 20 66 75 6c 6c 46 69 6c | 65 53 70 65 63 20 69 6e | fullFil|eSpec in|
|00003e10| 74 6f 20 66 73 0d 72 65 | 70 65 61 74 20 77 68 69 |to fs.re|peat whi|
|00003e20| 6c 65 20 66 73 20 69 73 | 20 6e 6f 74 20 65 6d 70 |le fs is| not emp|
|00003e30| 74 79 20 61 6e 64 20 74 | 68 65 20 6c 61 73 74 20 |ty and t|he last |
|00003e40| 63 68 61 72 20 6f 66 20 | 66 73 20 3c 3e 20 22 3a |char of |fs <> ":|
|00003e50| 22 0d 64 65 6c 65 74 65 | 20 74 68 65 20 6c 61 73 |".delete| the las|
|00003e60| 74 20 63 68 61 72 20 6f | 66 20 66 73 0d 65 6e 64 |t char o|f fs.end|
|00003e70| 20 72 65 70 65 61 74 0d | 72 65 74 75 72 6e 20 66 | repeat.|return f|
|00003e80| 73 0d 65 6e 64 20 70 61 | 74 68 4f 66 0d 0d 00 00 |s.end pa|thOf....|
|00003e90| 00 2a 00 55 02 81 00 04 | 00 89 00 16 01 74 00 00 |.*.U....|.....t..|
|00003ea0| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 10 46 69 |........|......Fi|
|00003eb0| 6c 65 4e 61 6d 65 00 00 | 00 00 01 e8 00 56 01 80 |leName..|.....V..|
|00003ec0| 00 1a 00 79 00 2a 00 8a | 00 00 00 00 6f 38 00 01 |...y.*..|....o8..|
|00003ed0| 00 00 00 0c 00 00 00 10 | 50 50 44 4c 6f 63 6b 00 |........|PPDLock.|
|00003ee0| 00 6f 6e 20 6d 6f 75 73 | 65 55 70 0d 67 6c 6f 62 |.on mous|eUp.glob|
|00003ef0| 61 6c 20 67 50 50 44 4c | 6f 63 6b 53 74 61 74 65 |al gPPDL|ockState|
|00003f00| 0d 0d 69 66 20 67 50 50 | 44 4c 6f 63 6b 53 74 61 |..if gPP|DLockSta|
|00003f10| 74 65 20 69 73 20 65 6d | 70 74 79 20 6f 72 20 67 |te is em|pty or g|
|00003f20| 50 50 44 4c 6f 63 6b 53 | 74 61 74 65 20 69 73 20 |PPDLockS|tate is |
|00003f30| 74 72 75 65 20 74 68 65 | 6e 0d 70 75 74 20 66 61 |true the|n.put fa|
|00003f40| 6c 73 65 20 69 6e 74 6f | 20 67 50 50 44 4c 6f 63 |lse into| gPPDLoc|
|00003f50| 6b 53 74 61 74 65 0d 73 | 65 74 20 74 68 65 20 69 |kState.s|et the i|
|00003f60| 63 6f 6e 20 6f 66 20 62 | 61 63 6b 67 72 6f 75 6e |con of b|ackgroun|
|00003f70| 64 20 62 75 74 74 6f 6e | 20 50 50 44 4c 6f 63 6b |d button| PPDLock|
|00003f80| 20 74 6f 20 55 6e 50 61 | 64 4c 6f 63 6b 0d 73 65 | to UnPa|dLock.se|
|00003f90| 74 20 74 68 65 20 73 74 | 79 6c 65 20 6f 66 20 62 |t the st|yle of b|
|00003fa0| 67 20 66 69 65 6c 64 20 | 50 50 44 46 69 6c 65 4e |g field |PPDFileN|
|00003fb0| 61 6d 65 20 74 6f 20 52 | 65 63 74 61 6e 67 6c 65 |ame to R|ectangle|
|00003fc0| 0d 65 6c 73 65 0d 70 75 | 74 20 74 72 75 65 20 69 |.else.pu|t true i|
|00003fd0| 6e 74 6f 20 67 50 50 44 | 4c 6f 63 6b 53 74 61 74 |nto gPPD|LockStat|
|00003fe0| 65 0d 73 65 74 20 74 68 | 65 20 69 63 6f 6e 20 6f |e.set th|e icon o|
|00003ff0| 66 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 62 75 74 |f backgr|ound but|
|00004000| 74 6f 6e 20 50 50 44 4c | 6f 63 6b 20 74 6f 20 50 |ton PPDL|ock to P|
|00004010| 61 64 4c 6f 63 6b 0d 73 | 65 74 20 74 68 65 20 73 |adLock.s|et the s|
|00004020| 74 79 6c 65 20 6f 66 20 | 62 67 20 66 69 65 6c 64 |tyle of |bg field|
|00004030| 20 50 50 44 46 69 6c 65 | 4e 61 6d 65 20 74 6f 20 | PPDFile|Name to |
|00004040| 74 72 61 6e 73 70 61 72 | 65 6e 74 0d 65 6e 64 20 |transpar|ent.end |
|00004050| 69 66 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 6b 54 |if.set t|he lockT|
|00004060| 65 78 74 20 6f 66 20 62 | 61 63 6b 67 72 6f 75 6e |ext of b|ackgroun|
|00004070| 64 20 66 69 65 6c 64 20 | 50 50 44 46 69 6c 65 4e |d field |PPDFileN|
|00004080| 61 6d 65 20 74 6f 20 67 | 50 50 44 4c 6f 63 6b 53 |ame to g|PPDLockS|
|00004090| 74 61 74 65 0d 65 6e 64 | 20 6d 6f 75 73 65 55 70 |tate.end| mouseUp|
|000040a0| 00 00 01 0a 00 57 01 00 | 00 f2 00 ba 01 02 01 74 |.....W..|.......t|
|000040b0| 80 06 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|000040c0| 48 61 6c 66 74 6f 6e 65 | 20 73 63 72 65 65 6e 73 |Halftone| screens|
|000040d0| 00 00 2d 2d 20 43 6f 70 | 79 72 69 67 68 74 20 a9 |..-- Cop|yright .|
|000040e0| 20 31 39 39 30 2c 20 31 | 39 39 31 20 41 6c 64 75 | 1990, 1|991 Aldu|
|000040f0| 73 20 43 6f 72 70 6f 72 | 61 74 69 6f 6e 2e 0d 2d |s Corpor|ation..-|
|00004100| 2d 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 |- All Ri|ghts Res|
|00004110| 65 72 76 65 64 2e 0d 0d | 6f 6e 20 6d 6f 75 73 65 |erved...|on mouse|
|00004120| 55 70 0d 73 65 74 20 68 | 69 6c 69 74 65 20 6f 66 |Up.set h|ilite of|
|00004130| 20 6d 65 20 74 6f 20 74 | 72 75 65 0d 67 6f 4d 6f | me to t|rue.goMo|
|00004140| 64 65 28 20 22 48 61 6c | 66 74 6f 6e 65 73 22 20 |de( "Hal|ftones" |
|00004150| 29 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |).if the| result |
|00004160| 69 73 20 22 43 61 6e 63 | 65 6c 22 20 74 68 65 6e |is "Canc|el" then|
|00004170| 0d 73 65 74 20 68 69 6c | 69 74 65 20 6f 66 20 6d |.set hil|ite of m|
|00004180| 65 20 74 6f 20 66 61 6c | 73 65 0d 65 78 69 74 20 |e to fal|se.exit |
|00004190| 6d 6f 75 73 65 55 70 0d | 65 6e 64 20 69 66 0d 65 |mouseUp.|end if.e|
|000041a0| 6e 64 20 6d 6f 75 73 65 | 55 70 00 00 45 64 69 74 |nd mouse|Up..Edit|
|000041b0| 6f 72 00 2d 2d 20 43 6f | 70 79 72 69 67 68 74 20 |or.-- Co|pyright |
|000041c0| a9 20 31 39 39 30 2c 20 | 31 39 39 31 20 41 6c 64 |. 1990, |1991 Ald|
|000041d0| 75 73 20 43 6f 72 70 6f | 72 61 74 69 6f 6e 2e 0d |us Corpo|ration..|
|000041e0| 2d 2d 20 41 6c 6c 20 52 | 69 67 68 74 73 20 52 65 |-- All R|ights Re|
|000041f0| 73 65 72 76 65 64 2e 0d | 0d 2d 2d 20 48 41 4e 44 |served..|.-- HAND|
|00004200| 4c 45 52 53 20 46 4f 52 | 20 53 59 53 54 45 4d 20 |LERS FOR| SYSTEM |
|00004210| 4d 45 53 53 41 47 45 53 | 0d 0d 6f 6e 20 6f 70 65 |MESSAGES|..on ope|
|00004220| 6e 43 61 72 64 0d 67 65 | 74 20 73 68 6f 72 74 20 |nCard.ge|t short |
|00004230| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 64 0d |name of |this cd.|
|00004240| 2d 2d 73 65 74 20 68 69 | 6c 69 74 65 20 6f 66 20 |--set hi|lite of |
|00004250| 62 67 20 62 74 6e 20 69 | 64 20 32 38 20 74 6f 20 |bg btn i|d 28 to |
|00004260| 28 20 69 74 20 3d 20 22 | 43 61 6c 69 62 72 61 74 |( it = "|Calibrat|
|00004270| 65 22 20 29 0d 2d 2d 73 | 65 74 20 68 69 6c 69 74 |e" ).--s|et hilit|
|00004280| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 69 64 20 32 |e of bg |btn id 2|
|00004290| 39 20 74 6f 20 28 20 69 | 74 20 3d 20 22 50 61 70 |9 to ( i|t = "Pap|
|000042a0| 65 72 22 20 29 0d 2d 2d | 73 65 74 20 68 69 6c 69 |er" ).--|set hili|
|000042b0| 74 65 20 6f 66 20 62 67 | 20 62 74 6e 20 69 64 20 |te of bg| btn id |
|000042c0| 33 30 20 74 6f 20 28 20 | 69 74 20 3d 20 22 46 6f |30 to ( |it = "Fo|
|000042d0| 6e 74 73 22 20 29 0d 73 | 65 74 20 68 69 6c 69 74 |nts" ).s|et hilit|
|000042e0| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 22 43 61 6c |e of bg |btn "Cal|
|000042f0| 69 62 72 61 74 69 6f 6e | 22 20 74 6f 20 28 20 69 |ibration|" to ( i|
|00004300| 74 20 3d 20 22 43 61 6c | 69 62 72 61 74 65 22 20 |t = "Cal|ibrate" |
|00004310| 29 0d 73 65 74 20 68 69 | 6c 69 74 65 20 6f 66 20 |).set hi|lite of |
|00004320| 62 67 20 62 74 6e 20 22 | 50 61 70 65 72 20 73 69 |bg btn "|Paper si|
|00004330| 7a 65 73 22 20 74 6f 20 | 28 20 69 74 20 3d 20 22 |zes" to |( it = "|
|00004340| 50 61 70 65 72 22 20 29 | 0d 73 65 74 20 68 69 6c |Paper" )|.set hil|
|00004350| 69 74 65 20 6f 66 20 62 | 67 20 62 74 6e 20 22 46 |ite of b|g btn "F|
|00004360| 6f 6e 74 73 22 20 74 6f | 20 28 20 69 74 20 3d 20 |onts" to| ( it = |
|00004370| 22 46 6f 6e 74 73 22 20 | 29 0d 73 65 74 20 68 69 |"Fonts" |).set hi|
|00004380| 6c 69 74 65 20 6f 66 20 | 62 67 20 62 74 6e 20 22 |lite of |bg btn "|
|00004390| 48 61 6c 66 74 6f 6e 65 | 20 53 63 72 65 65 6e 73 |Halftone| Screens|
|000043a0| 22 20 74 6f 20 28 20 69 | 74 20 3d 20 22 48 61 6c |" to ( i|t = "Hal|
|000043b0| 66 74 6f 6e 65 73 22 20 | 29 0d 73 65 74 45 64 69 |ftones" |).setEdi|
|000043c0| 74 4d 6f 64 65 20 69 74 | 0d 73 65 74 46 69 6c 65 |tMode it|.setFile|
|000043d0| 53 74 61 74 65 0d 65 6e | 64 20 6f 70 65 6e 43 61 |State.en|d openCa|
|000043e0| 72 64 0d 0d 6f 6e 20 64 | 6f 4d 65 6e 75 20 63 6d |rd..on d|oMenu cm|
|000043f0| 6d 64 0d 2d 2d 20 54 48 | 49 53 20 48 41 4e 44 4c |md.-- TH|IS HANDL|
|00004400| 45 52 20 4d 41 59 20 4e | 45 45 44 20 54 4f 20 42 |ER MAY N|EED TO B|
|00004410| 45 20 4c 4f 43 41 4c 49 | 5a 45 44 21 0d 69 66 20 |E LOCALI|ZED!.if |
|00004420| 63 6d 6d 64 20 3d 20 22 | 51 75 69 74 20 48 79 70 |cmmd = "|Quit Hyp|
|00004430| 65 72 43 61 72 64 22 20 | 74 68 65 6e 20 63 68 61 |erCard" |then cha|
|00004440| 6e 67 65 73 43 68 65 63 | 6b 50 6f 69 6e 74 0d 70 |ngesChec|kPoint.p|
|00004450| 61 73 73 20 64 6f 4d 65 | 6e 75 20 2d 2d 20 6d 6f |ass doMe|nu -- mo|
|00004460| 72 65 20 68 61 6e 64 6c | 69 6e 67 20 69 6e 20 74 |re handl|ing in t|
|00004470| 68 65 20 73 74 61 63 6b | 20 73 63 72 69 70 74 0d |he stack| script.|
|00004480| 65 6e 64 20 64 6f 4d 65 | 6e 75 0d 0d 2d 2d 20 48 |end doMe|nu..-- H|
|00004490| 41 4e 44 4c 45 52 53 20 | 41 4e 44 20 46 55 4e 43 |ANDLERS |AND FUNC|
|000044a0| 54 49 4f 4e 53 20 46 4f | 52 20 54 48 49 53 20 42 |TIONS FO|R THIS B|
|000044b0| 41 43 4b 47 52 4f 55 4e | 44 0d 2d 2d 0d 2d 2d 20 |ACKGROUN|D.--.-- |
|000044c0| 54 68 65 73 65 20 73 63 | 72 69 70 74 73 2c 20 61 |These sc|ripts, a|
|000044d0| 6e 64 20 74 68 65 20 73 | 63 72 69 70 74 73 20 66 |nd the s|cripts f|
|000044e0| 6f 72 20 74 68 65 20 62 | 61 63 6b 67 6f 75 6e 64 |or the b|ackgound|
|000044f0| 20 62 75 74 74 6f 6e 73 | 2c 20 70 72 6f 76 69 64 | buttons|, provid|
|00004500| 65 0d 2d 2d 20 74 68 65 | 20 63 6f 6d 6d 6f 6e 20 |e.-- the| common |
|00004510| 66 75 6e 63 74 69 6f 6e | 61 6c 69 74 79 20 66 6f |function|ality fo|
|00004520| 72 20 65 64 69 74 69 6e | 67 20 50 44 58 20 66 69 |r editin|g PDX fi|
|00004530| 6c 65 73 2e 20 20 45 61 | 63 68 20 6f 66 20 74 68 |les. Ea|ch of th|
|00004540| 65 20 74 68 72 65 65 0d | 2d 2d 20 63 61 72 64 73 |e three.|-- cards|
|00004550| 20 22 43 61 6c 69 62 72 | 61 74 65 22 2c 20 22 50 | "Calibr|ate", "P|
|00004560| 61 70 65 72 22 2c 20 61 | 6e 64 20 22 46 6f 6e 74 |aper", a|nd "Font|
|00004570| 73 22 20 6f 66 20 74 68 | 69 73 20 62 61 63 6b 67 |s" of th|is backg|
|00004580| 72 6f 75 6e 64 20 68 61 | 76 65 0d 2d 2d 20 74 68 |round ha|ve.-- th|
|00004590| 72 65 65 20 68 61 6e 64 | 6c 65 72 73 20 74 68 61 |ree hand|lers tha|
|000045a0| 74 20 61 72 65 20 75 73 | 65 64 20 68 65 72 65 3a |t are us|ed here:|
|000045b0| 0d 2d 2d 20 67 65 74 43 | 61 72 64 44 61 74 61 20 |.-- getC|ardData |
|000045c0| 2d 20 72 65 61 64 20 61 | 6e 64 20 64 69 73 70 6c |- read a|nd displ|
|000045d0| 61 79 20 63 61 72 64 2d | 73 70 65 63 69 66 69 63 |ay card-|specific|
|000045e0| 20 64 61 74 61 20 66 72 | 6f 6d 20 74 68 65 20 50 | data fr|om the P|
|000045f0| 44 58 20 66 69 6c 65 0d | 2d 2d 20 70 75 74 43 61 |DX file.|-- putCa|
|00004600| 72 64 44 61 74 61 20 2d | 20 77 72 69 74 65 20 74 |rdData -| write t|
|00004610| 68 65 20 64 61 74 61 20 | 6f 6e 20 74 68 65 20 63 |he data |on the c|
|00004620| 61 72 64 20 62 61 63 6b | 20 6f 75 74 20 74 6f 20 |ard back| out to |
|00004630| 74 68 65 20 50 44 58 20 | 66 69 6c 65 0d 2d 2d 20 |the PDX |file.-- |
|00004640| 63 6c 65 61 72 43 61 72 | 64 44 61 74 61 20 2d 20 |clearCar|dData - |
|00004650| 61 70 70 72 6f 70 72 69 | 61 74 65 6c 79 20 62 6c |appropri|ately bl|
|00004660| 61 6e 6b 20 74 68 65 20 | 63 61 72 64 20 64 69 73 |ank the |card dis|
|00004670| 70 6c 61 79 0d 0d 6f 6e | 20 73 65 74 46 69 6c 65 |play..on| setFile|
|00004680| 53 74 61 74 65 20 6e 65 | 77 46 69 6c 65 53 74 61 |State ne|wFileSta|
|00004690| 74 65 0d 2d 2d 20 54 68 | 69 73 20 69 73 20 61 20 |te.-- Th|is is a |
|000046a0| 6b 65 79 20 68 61 6e 64 | 6c 65 72 2e 20 49 74 20 |key hand|ler. It |
|000046b0| 6e 6f 74 20 6f 6e 6c 79 | 20 63 68 61 6e 67 65 73 |not only| changes|
|000046c0| 20 74 68 65 20 67 6c 6f | 62 61 6c 20 73 74 61 74 | the glo|bal stat|
|000046d0| 65 20 74 6f 0d 2d 2d 20 | 20 20 72 65 66 6c 65 63 |e to.-- | reflec|
|000046e0| 74 20 74 6f 20 73 74 61 | 74 65 20 6f 66 20 74 68 |t to sta|te of th|
|000046f0| 65 20 50 44 58 20 66 69 | 6c 65 2c 20 62 75 74 20 |e PDX fi|le, but |
|00004700| 61 6c 73 6f 20 69 6e 76 | 6f 6b 65 73 20 74 68 65 |also inv|okes the|
|00004710| 0d 2d 2d 20 20 20 63 75 | 72 72 65 6e 74 20 63 61 |.-- cu|rrent ca|
|00004720| 72 64 27 73 20 64 61 74 | 61 20 68 61 6e 64 6c 65 |rd's dat|a handle|
|00004730| 72 73 20 74 6f 20 66 69 | 6c 6c 20 69 6e 20 6f 72 |rs to fi|ll in or|
|00004740| 20 63 6c 65 61 72 20 74 | 68 65 20 63 61 72 64 20 | clear t|he card |
|00004750| 64 61 74 61 2e 0d 2d 2d | 20 49 4e 3a 20 3c 6e 65 |data..--| IN: <ne|
|00004760| 77 46 69 6c 65 53 74 61 | 74 65 3e 20 69 73 20 22 |wFileSta|te> is "|
|00004770| 4e 6f 46 69 6c 65 22 2c | 20 22 4f 70 65 6e 22 2c |NoFile",| "Open",|
|00004780| 20 6f 72 20 22 43 68 61 | 6e 67 65 64 22 2c 20 6f | or "Cha|nged", o|
|00004790| 72 20 65 6d 70 74 79 0d | 2d 2d 20 20 20 20 20 49 |r empty.|-- I|
|000047a0| 66 20 65 6d 70 74 79 2c | 20 74 68 65 20 6f 6c 64 |f empty,| the old|
|000047b0| 20 66 69 6c 65 20 73 74 | 61 74 65 20 77 69 6c 6c | file st|ate will|
|000047c0| 20 62 65 20 75 73 65 64 | 2e 20 20 41 6e 20 69 6e | be used|. An in|
|000047d0| 76 6f 63 61 74 69 6f 6e | 0d 2d 2d 20 20 20 20 20 |vocation|.-- |
|000047e0| 6f 66 20 74 68 69 73 20 | 68 61 6e 64 6c 65 72 20 |of this |handler |
|000047f0| 77 69 74 68 20 61 6e 20 | 65 6d 70 74 79 20 61 72 |with an |empty ar|
|00004800| 67 75 6d 65 6e 74 20 69 | 73 20 61 6c 77 61 79 73 |gument i|s always|
|00004810| 20 73 61 66 65 2e 0d 2d | 2d 20 55 53 45 53 3a 20 | safe..-|- USES: |
|00004820| 64 69 73 61 62 6c 65 45 | 64 69 74 73 2c 20 63 6c |disableE|dits, cl|
|00004830| 65 61 72 43 61 72 64 44 | 61 74 61 2c 20 6e 65 65 |earCardD|ata, nee|
|00004840| 64 4e 65 77 44 61 74 61 | 2c 20 67 65 74 43 61 72 |dNewData|, getCar|
|00004850| 64 44 61 74 61 0d 2d 2d | 20 20 20 20 20 20 20 65 |dData.--| e|
|00004860| 6e 61 62 6c 65 45 64 69 | 74 73 2c 20 64 6f 55 73 |nableEdi|ts, doUs|
|00004870| 65 72 50 72 6f 6d 70 74 | 0d 67 6c 6f 62 61 6c 20 |erPrompt|.global |
|00004880| 70 64 78 53 74 61 74 65 | 2c 20 70 64 78 43 61 72 |pdxState|, pdxCar|
|00004890| 64 4c 61 73 74 54 69 6d | 65 0d 2d 2d 0d 2d 2d 20 |dLastTim|e.--.-- |
|000048a0| 73 65 74 20 75 70 20 61 | 6e 64 20 63 68 61 6e 67 |set up a|nd chang|
|000048b0| 65 20 74 68 65 20 67 6c | 6f 62 61 6c 20 73 74 61 |e the gl|obal sta|
|000048c0| 74 65 0d 70 75 74 20 74 | 68 65 46 69 6c 65 53 74 |te.put t|heFileSt|
|000048d0| 61 74 65 28 22 22 29 20 | 69 6e 74 6f 20 6f 6c 64 |ate("") |into old|
|000048e0| 46 69 6c 65 53 74 61 74 | 65 0d 69 66 20 6e 65 77 |FileStat|e.if new|
|000048f0| 46 69 6c 65 53 74 61 74 | 65 20 69 73 20 65 6d 70 |FileStat|e is emp|
|00004900| 74 79 20 74 68 65 6e 20 | 70 75 74 20 6f 6c 64 46 |ty then |put oldF|
|00004910| 69 6c 65 53 74 61 74 65 | 20 69 6e 74 6f 20 6e 65 |ileState| into ne|
|00004920| 77 46 69 6c 65 53 74 61 | 74 65 0d 69 66 20 6e 65 |wFileSta|te.if ne|
|00004930| 77 46 69 6c 65 53 74 61 | 74 65 20 69 73 20 65 6d |wFileSta|te is em|
|00004940| 70 74 79 20 74 68 65 6e | 20 70 75 74 20 22 4e 6f |pty then| put "No|
|00004950| 46 69 6c 65 22 20 69 6e | 74 6f 20 6e 65 77 46 69 |File" in|to newFi|
|00004960| 6c 65 53 74 61 74 65 0d | 70 75 74 20 28 20 6e 65 |leState.|put ( ne|
|00004970| 77 46 69 6c 65 53 74 61 | 74 65 20 3c 3e 20 6f 6c |wFileSta|te <> ol|
|00004980| 64 46 69 6c 65 53 74 61 | 74 65 20 29 20 69 6e 74 |dFileSta|te ) int|
|00004990| 6f 20 73 74 61 74 65 73 | 44 69 66 66 65 72 0d 69 |o states|Differ.i|
|000049a0| 66 20 6e 65 77 46 69 6c | 65 53 74 61 74 65 20 3d |f newFil|eState =|
|000049b0| 20 22 4f 70 65 6e 22 20 | 61 6e 64 20 6f 6c 64 46 | "Open" |and oldF|
|000049c0| 69 6c 65 53 74 61 74 65 | 20 3d 20 22 43 68 61 6e |ileState| = "Chan|
|000049d0| 67 65 64 22 20 74 68 65 | 6e 0d 2d 2d 20 6a 75 73 |ged" the|n.-- jus|
|000049e0| 74 20 64 69 64 20 61 20 | 22 53 61 76 65 22 20 2d |t did a |"Save" -|
|000049f0| 20 6e 6f 20 6e 65 65 64 | 20 74 6f 20 72 65 2d 72 | no need| to re-r|
|00004a00| 65 61 64 20 66 69 6c 65 | 0d 70 75 74 20 66 61 6c |ead file|.put fal|
|00004a10| 73 65 20 69 6e 74 6f 20 | 73 74 61 74 65 73 44 69 |se into |statesDi|
|00004a20| 66 66 65 72 0d 65 6e 61 | 62 6c 65 45 64 69 74 73 |ffer.ena|bleEdits|
|00004a30| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 6e 65 77 46 |.end if.|put newF|
|00004a40| 69 6c 65 53 74 61 74 65 | 20 69 6e 74 6f 20 69 74 |ileState| into it|
|00004a50| 65 6d 20 31 20 6f 66 20 | 70 64 78 53 74 61 74 65 |em 1 of |pdxState|
|00004a60| 0d 2d 2d 0d 2d 2d 20 64 | 6f 20 61 6e 79 20 63 61 |.--.-- d|o any ca|
|00004a70| 72 64 20 63 6c 65 61 6e | 75 70 20 6e 65 65 64 65 |rd clean|up neede|
|00004a80| 64 0d 69 66 20 6e 65 77 | 46 69 6c 65 53 74 61 74 |d.if new|FileStat|
|00004a90| 65 20 69 73 20 22 4e 6f | 46 69 6c 65 22 20 74 68 |e is "No|File" th|
|00004aa0| 65 6e 0d 69 66 20 73 74 | 61 74 65 73 44 69 66 66 |en.if st|atesDiff|
|00004ab0| 65 72 20 6f 72 20 28 73 | 68 6f 72 74 20 6e 61 6d |er or (s|hort nam|
|00004ac0| 65 20 6f 66 20 74 68 69 | 73 20 63 64 20 3c 3e 20 |e of thi|s cd <> |
|00004ad0| 70 64 78 43 61 72 64 4c | 61 73 74 54 69 6d 65 29 |pdxCardL|astTime)|
|00004ae0| 20 74 68 65 6e 0d 64 69 | 73 61 62 6c 65 45 64 69 | then.di|sableEdi|
|00004af0| 74 73 0d 73 65 6e 64 20 | 63 6c 65 61 72 43 61 72 |ts.send |clearCar|
|00004b00| 64 44 61 74 61 20 74 6f | 20 74 68 69 73 20 63 64 |dData to| this cd|
|00004b10| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 69 |.end if.|end if.i|
|00004b20| 66 20 6e 65 77 46 69 6c | 65 53 74 61 74 65 20 69 |f newFil|eState i|
|00004b30| 73 20 22 4f 70 65 6e 22 | 20 74 68 65 6e 0d 69 66 |s "Open"| then.if|
|00004b40| 20 6e 65 65 64 4e 65 77 | 44 61 74 61 28 20 73 74 | needNew|Data( st|
|00004b50| 61 74 65 73 44 69 66 66 | 65 72 20 29 20 74 68 65 |atesDiff|er ) the|
|00004b60| 6e 0d 65 6e 61 62 6c 65 | 45 64 69 74 73 0d 73 68 |n.enable|Edits.sh|
|00004b70| 6f 77 20 63 64 20 66 6c | 64 20 63 6f 76 65 72 0d |ow cd fl|d cover.|
|00004b80| 73 65 74 20 6c 6f 63 6b | 73 63 72 65 65 6e 20 74 |set lock|screen t|
|00004b90| 6f 20 66 61 6c 73 65 0d | 2d 2d 20 20 20 20 20 20 |o false.|-- |
|00004ba0| 67 6f 20 74 68 69 73 20 | 63 61 72 64 0d 73 65 6e |go this |card.sen|
|00004bb0| 64 20 67 65 74 43 61 72 | 64 44 61 74 61 20 74 6f |d getCar|dData to|
|00004bc0| 20 74 68 69 73 20 63 64 | 0d 76 69 73 75 61 6c 20 | this cd|.visual |
|00004bd0| 65 66 66 65 63 74 20 7a | 6f 6f 6d 20 6f 70 65 6e |effect z|oom open|
|00004be0| 0d 67 6f 20 74 68 69 73 | 20 63 64 0d 68 69 64 65 |.go this| cd.hide|
|00004bf0| 20 63 64 20 66 6c 64 20 | 63 6f 76 65 72 0d 65 6c | cd fld |cover.el|
|00004c00| 73 65 20 69 66 20 62 67 | 20 66 6c 64 20 4f 70 65 |se if bg| fld Ope|
|00004c10| 6e 53 74 61 74 65 4d 6f | 64 69 66 69 65 72 20 69 |nStateMo|difier i|
|00004c20| 73 20 6e 6f 74 20 22 4e | 6f 45 64 69 74 69 6e 67 |s not "N|oEditing|
|00004c30| 22 0d 74 68 65 6e 20 68 | 69 64 65 20 63 64 20 66 |".then h|ide cd f|
|00004c40| 6c 64 20 63 6f 76 65 72 | 0d 65 6e 64 20 69 66 0d |ld cover|.end if.|
|00004c50| 2d 2d 0d 2d 2d 20 72 65 | 73 65 74 20 6c 61 73 74 |--.-- re|set last|
|00004c60| 20 63 61 72 64 20 67 6c | 6f 62 61 6c 20 61 6e 64 | card gl|obal and|
|00004c70| 20 70 75 74 20 75 70 20 | 61 70 70 72 6f 70 72 69 | put up |appropri|
|00004c80| 61 74 65 20 70 72 6f 6d | 70 74 0d 70 75 74 20 73 |ate prom|pt.put s|
|00004c90| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00004ca0| 73 20 63 64 20 69 6e 74 | 6f 20 70 64 78 43 61 72 |s cd int|o pdxCar|
|00004cb0| 64 4c 61 73 74 54 69 6d | 65 0d 64 6f 55 73 65 72 |dLastTim|e.doUser|
|00004cc0| 50 72 6f 6d 70 74 0d 65 | 6e 64 20 73 65 74 46 69 |Prompt.e|nd setFi|
|00004cd0| 6c 65 53 74 61 74 65 0d | 0d 66 75 6e 63 74 69 6f |leState.|.functio|
|00004ce0| 6e 20 6e 65 65 64 4e 65 | 77 44 61 74 61 20 66 69 |n needNe|wData fi|
|00004cf0| 6c 65 53 74 61 74 65 73 | 44 69 66 66 65 72 0d 2d |leStates|Differ.-|
|00004d00| 2d 20 44 65 74 65 72 6d | 69 6e 65 20 69 66 20 69 |- Determ|ine if i|
|00004d10| 74 27 73 20 61 70 70 72 | 6f 70 72 6f 70 72 69 61 |t's appr|opropria|
|00004d20| 74 65 20 74 6f 20 67 65 | 74 20 6e 65 77 20 63 61 |te to ge|t new ca|
|00004d30| 72 64 20 64 61 74 61 2e | 0d 2d 2d 20 54 68 69 73 |rd data.|.-- This|
|00004d40| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 75 73 65 | functio|n is use|
|00004d50| 64 20 6f 6e 6c 79 20 62 | 79 20 73 65 74 46 69 6c |d only b|y setFil|
|00004d60| 65 53 74 61 74 65 2e 0d | 2d 2d 20 49 4e 3a 20 66 |eState..|-- IN: f|
|00004d70| 69 6c 65 73 53 74 61 74 | 65 73 44 69 66 66 65 72 |ilesStat|esDiffer|
|00004d80| 20 69 73 20 61 20 42 6f | 6f 6c 65 61 6e 3a 20 64 | is a Bo|olean: d|
|00004d90| 6f 65 73 20 6e 65 77 20 | 66 69 6c 65 20 73 74 61 |oes new |file sta|
|00004da0| 74 65 0d 2d 2d 20 20 20 | 20 20 64 69 66 66 65 72 |te.-- | differ|
|00004db0| 20 66 72 6f 6d 20 6f 6c | 64 20 66 69 6c 65 20 73 | from ol|d file s|
|00004dc0| 74 61 74 65 3f 0d 2d 2d | 20 52 45 54 55 52 4e 53 |tate?.--| RETURNS|
|00004dd0| 3a 20 42 6f 6f 6c 65 61 | 6e 3a 20 73 68 6f 75 6c |: Boolea|n: shoul|
|00004de0| 64 20 66 69 6c 65 20 64 | 61 74 61 20 62 65 20 72 |d file d|ata be r|
|00004df0| 65 61 64 20 69 6e 20 61 | 6e 65 77 3f 0d 67 6c 6f |ead in a|new?.glo|
|00004e00| 62 61 6c 20 70 64 78 43 | 61 72 64 4c 61 73 74 54 |bal pdxC|ardLastT|
|00004e10| 69 6d 65 2c 20 70 64 78 | 46 69 6c 65 0d 2d 2d 0d |ime, pdx|File.--.|
|00004e20| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 67 |put fals|e into g|
|00004e30| 65 74 4e 65 77 44 61 74 | 61 0d 69 66 20 73 68 6f |etNewDat|a.if sho|
|00004e40| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00004e50| 63 64 20 3d 20 70 64 78 | 43 61 72 64 4c 61 73 74 |cd = pdx|CardLast|
|00004e60| 54 69 6d 65 20 74 68 65 | 6e 0d 69 66 20 66 69 6c |Time the|n.if fil|
|00004e70| 65 53 74 61 74 65 73 44 | 69 66 66 65 72 20 74 68 |eStatesD|iffer th|
|00004e80| 65 6e 0d 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |en.put t|rue into|
|00004e90| 20 67 65 74 4e 65 77 44 | 61 74 61 0d 65 6e 64 20 | getNewD|ata.end |
|00004ea0| 69 66 0d 65 6c 73 65 20 | 69 66 20 70 64 78 46 69 |if.else |if pdxFi|
|00004eb0| 6c 65 20 3c 3e 20 6c 69 | 6e 65 20 32 20 6f 66 20 |le <> li|ne 2 of |
|00004ec0| 62 67 20 66 6c 64 20 22 | 46 69 6c 65 4e 61 6d 65 |bg fld "|FileName|
|00004ed0| 22 20 74 68 65 6e 0d 2d | 2d 20 54 68 69 73 20 63 |" then.-|- This c|
|00004ee0| 61 74 63 68 65 73 20 74 | 68 65 20 72 65 2d 72 65 |atches t|he re-re|
|00004ef0| 61 64 20 66 69 6c 65 20 | 74 72 61 70 20 73 65 74 |ad file |trap set|
|00004f00| 20 69 6e 20 22 67 6f 4d | 6f 64 65 22 0d 70 75 74 | in "goM|ode".put|
|00004f10| 20 74 72 75 65 20 69 6e | 74 6f 20 67 65 74 4e 65 | true in|to getNe|
|00004f20| 77 44 61 74 61 0d 65 6e | 64 20 69 66 0d 72 65 74 |wData.en|d if.ret|
|00004f30| 75 72 6e 20 67 65 74 4e | 65 77 44 61 74 61 0d 65 |urn getN|ewData.e|
|00004f40| 6e 64 20 6e 65 65 64 4e | 65 77 44 61 74 61 0d 0d |nd needN|ewData..|
|00004f50| 66 75 6e 63 74 69 6f 6e | 20 74 68 65 46 69 6c 65 |function| theFile|
|00004f60| 53 74 61 74 65 0d 2d 2d | 20 52 45 54 55 52 4e 53 |State.--| RETURNS|
|00004f70| 3a 20 22 4e 6f 46 69 6c | 65 22 2c 20 22 4f 70 65 |: "NoFil|e", "Ope|
|00004f80| 6e 22 2c 20 6f 72 20 22 | 43 68 61 6e 67 65 64 22 |n", or "|Changed"|
|00004f90| 0d 67 6c 6f 62 61 6c 20 | 70 64 78 53 74 61 74 65 |.global |pdxState|
|00004fa0| 0d 2d 2d 0d 69 66 20 70 | 64 78 53 74 61 74 65 20 |.--.if p|dxState |
|00004fb0| 69 73 20 65 6d 70 74 79 | 0d 74 68 65 6e 20 70 75 |is empty|.then pu|
|00004fc0| 74 20 22 4e 6f 46 69 6c | 65 2c 43 61 6c 69 62 72 |t "NoFil|e,Calibr|
|00004fd0| 61 74 65 22 20 69 6e 74 | 6f 20 70 64 78 46 69 6c |ate" int|o pdxFil|
|00004fe0| 65 53 74 61 74 65 0d 72 | 65 74 75 72 6e 20 69 74 |eState.r|eturn it|
|00004ff0| 65 6d 20 31 20 6f 66 20 | 70 64 78 53 74 61 74 65 |em 1 of |pdxState|
|00005000| 0d 65 6e 64 20 74 68 65 | 46 69 6c 65 53 74 61 74 |.end the|FileStat|
|00005010| 65 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 74 68 65 45 |e..funct|ion theE|
|00005020| 64 69 74 4d 6f 64 65 0d | 2d 2d 20 52 45 54 55 52 |ditMode.|-- RETUR|
|00005030| 4e 53 3a 20 22 43 61 6c | 69 62 72 61 74 65 22 2c |NS: "Cal|ibrate",|
|00005040| 20 22 50 61 70 65 72 22 | 2c 20 22 46 6f 6e 74 73 | "Paper"|, "Fonts|
|00005050| 22 20 6f 72 20 22 48 61 | 6c 66 74 6f 6e 65 73 22 |" or "Ha|lftones"|
|00005060| 0d 67 6c 6f 62 61 6c 20 | 70 64 78 53 74 61 74 65 |.global |pdxState|
|00005070| 0d 2d 2d 0d 69 66 20 70 | 64 78 53 74 61 74 65 20 |.--.if p|dxState |
|00005080| 69 73 20 65 6d 70 74 79 | 0d 74 68 65 6e 20 70 75 |is empty|.then pu|
|00005090| 74 20 22 4e 6f 46 69 6c | 65 2c 43 61 6c 69 62 72 |t "NoFil|e,Calibr|
|000050a0| 61 74 65 22 20 69 6e 74 | 6f 20 70 64 78 46 69 6c |ate" int|o pdxFil|
|000050b0| 65 53 74 61 74 65 0d 72 | 65 74 75 72 6e 20 69 74 |eState.r|eturn it|
|000050c0| 65 6d 20 32 20 6f 66 20 | 70 64 78 53 74 61 74 65 |em 2 of |pdxState|
|000050d0| 0d 65 6e 64 20 74 68 65 | 45 64 69 74 4d 6f 64 65 |.end the|EditMode|
|000050e0| 0d 0d 6f 6e 20 73 65 74 | 45 64 69 74 4d 6f 64 65 |..on set|EditMode|
|000050f0| 20 77 68 69 63 68 0d 2d | 2d 20 43 68 61 6e 67 65 | which.-|- Change|
|00005100| 73 20 74 68 65 20 67 6c | 6f 62 61 6c 20 73 74 61 |s the gl|obal sta|
|00005110| 74 65 20 74 6f 20 72 65 | 66 6c 65 63 74 20 77 68 |te to re|flect wh|
|00005120| 61 74 27 73 20 62 65 69 | 6e 67 20 65 64 69 74 65 |at's bei|ng edite|
|00005130| 64 2e 0d 2d 2d 20 49 4e | 3a 20 3c 77 68 69 63 68 |d..-- IN|: <which|
|00005140| 3e 20 6d 75 73 74 20 62 | 65 20 22 43 61 6c 69 62 |> must b|e "Calib|
|00005150| 72 61 74 65 22 2c 20 22 | 50 61 70 65 72 22 2c 20 |rate", "|Paper", |
|00005160| 22 46 6f 6e 74 73 22 20 | 6f 72 20 22 48 61 6c 66 |"Fonts" |or "Half|
|00005170| 74 6f 6e 65 73 22 0d 67 | 6c 6f 62 61 6c 20 70 64 |tones".g|lobal pd|
|00005180| 78 53 74 61 74 65 0d 2d | 2d 0d 73 65 74 20 63 75 |xState.-|-.set cu|
|00005190| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 69 66 20 |rsor to |busy.if |
|000051a0| 70 64 78 53 74 61 74 65 | 20 69 73 20 65 6d 70 74 |pdxState| is empt|
|000051b0| 79 20 74 68 65 6e 20 70 | 75 74 20 22 4e 6f 46 69 |y then p|ut "NoFi|
|000051c0| 6c 65 2c 43 61 6c 69 62 | 72 61 74 65 22 20 69 6e |le,Calib|rate" in|
|000051d0| 74 6f 20 70 64 78 53 74 | 61 74 65 0d 69 66 20 77 |to pdxSt|ate.if w|
|000051e0| 68 69 63 68 20 69 73 20 | 65 6d 70 74 79 20 74 68 |hich is |empty th|
|000051f0| 65 6e 20 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |en put i|tem 2 of|
|00005200| 20 70 64 78 53 74 61 74 | 65 20 69 6e 74 6f 20 77 | pdxStat|e into w|
|00005210| 68 69 63 68 0d 69 66 20 | 77 68 69 63 68 20 69 73 |hich.if |which is|
|00005220| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 2d 2d 20 73 | empty t|hen.-- s|
|00005230| 68 6f 75 6c 64 6e 27 74 | 20 68 61 70 70 65 6e 20 |houldn't| happen |
|00005240| 2d 20 61 20 6c 69 74 74 | 6c 65 20 64 65 66 65 6e |- a litt|le defen|
|00005250| 73 69 76 65 20 70 72 6f | 67 72 61 6d 6d 69 6e 67 |sive pro|gramming|
|00005260| 0d 67 6f 20 63 64 20 22 | 43 61 6c 69 62 72 61 74 |.go cd "|Calibrat|
|00005270| 65 22 0d 65 78 69 74 20 | 73 65 74 45 64 69 74 4d |e".exit |setEditM|
|00005280| 6f 64 65 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 77 |ode.end |if.put w|
|00005290| 68 69 63 68 20 69 6e 74 | 6f 20 69 74 65 6d 20 32 |hich int|o item 2|
|000052a0| 20 6f 66 20 70 64 78 53 | 74 61 74 65 0d 65 6e 64 | of pdxS|tate.end|
|000052b0| 20 73 65 74 45 64 69 74 | 4d 6f 64 65 0d 0d 6f 6e | setEdit|Mode..on|
|000052c0| 20 67 6f 4d 6f 64 65 20 | 6d 6f 64 65 4e 61 6d 65 | goMode |modeName|
|000052d0| 0d 2d 2d 20 49 6e 76 6f | 6b 65 64 20 66 72 6f 6d |.-- Invo|ked from|
|000052e0| 20 74 68 65 20 65 64 69 | 74 20 6d 6f 64 65 20 72 | the edi|t mode r|
|000052f0| 61 64 69 6f 20 62 75 74 | 74 6f 6e 73 20 28 22 43 |adio but|tons ("C|
|00005300| 61 6c 69 62 72 61 74 69 | 6f 6e 22 20 65 74 63 2e |alibrati|on" etc.|
|00005310| 29 0d 2d 2d 20 20 20 74 | 6f 20 63 68 61 6e 67 65 |).-- t|o change|
|00005320| 20 77 68 61 74 27 73 20 | 62 65 69 6e 67 20 65 64 | what's |being ed|
|00005330| 69 74 65 64 2e 20 20 54 | 68 69 73 20 6d 61 79 20 |ited. T|his may |
|00005340| 72 65 73 75 6c 74 20 69 | 6e 20 65 64 69 74 65 64 |result i|n edited|
|00005350| 0d 2d 2d 20 20 20 64 61 | 74 61 20 6f 6e 20 74 68 |.-- da|ta on th|
|00005360| 65 20 63 75 72 72 65 6e | 74 20 63 61 72 64 20 62 |e curren|t card b|
|00005370| 65 69 6e 67 20 73 61 76 | 65 64 2e 0d 2d 2d 20 49 |eing sav|ed..-- I|
|00005380| 4e 3a 20 3c 6d 6f 64 65 | 4e 61 6d 65 3e 20 6d 75 |N: <mode|Name> mu|
|00005390| 73 74 20 62 65 20 22 43 | 61 6c 69 62 72 61 74 65 |st be "C|alibrate|
|000053a0| 22 2c 20 22 50 61 70 65 | 72 22 2c 20 22 46 6f 6e |", "Pape|r", "Fon|
|000053b0| 74 73 22 20 6f 72 20 22 | 48 61 6c 66 74 6f 6e 65 |ts" or "|Halftone|
|000053c0| 73 22 0d 2d 2d 20 55 53 | 45 53 3a 20 74 68 65 46 |s".-- US|ES: theF|
|000053d0| 69 6c 65 53 74 61 74 65 | 2c 20 76 65 72 69 66 79 |ileState|, verify|
|000053e0| 53 61 76 65 2c 20 70 75 | 74 43 61 72 64 44 61 74 |Save, pu|tCardDat|
|000053f0| 61 2c 20 73 65 74 46 69 | 6c 65 53 74 61 74 65 0d |a, setFi|leState.|
|00005400| 2d 2d 20 20 20 20 20 20 | 20 64 6f 55 73 65 72 50 |-- | doUserP|
|00005410| 72 6f 6d 70 74 0d 67 6c | 6f 62 61 6c 20 70 64 78 |rompt.gl|obal pdx|
|00005420| 53 74 61 74 65 0d 2d 2d | 0d 0d 69 66 20 74 68 65 |State.--|..if the|
|00005430| 45 64 69 74 4d 6f 64 65 | 28 22 22 29 20 3d 20 6d |EditMode|("") = m|
|00005440| 6f 64 65 4e 61 6d 65 20 | 74 68 65 6e 0d 65 78 69 |odeName |then.exi|
|00005450| 74 20 67 6f 4d 6f 64 65 | 0d 65 6e 64 20 69 66 0d |t goMode|.end if.|
|00005460| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|00005470| 75 73 79 0d 69 66 20 74 | 68 65 46 69 6c 65 53 74 |usy.if t|heFileSt|
|00005480| 61 74 65 28 22 22 29 20 | 3d 20 22 43 68 61 6e 67 |ate("") |= "Chang|
|00005490| 65 64 22 20 74 68 65 6e | 0d 67 65 74 20 76 65 72 |ed" then|.get ver|
|000054a0| 69 66 79 53 61 76 65 28 | 33 29 0d 69 66 20 69 74 |ifySave(|3).if it|
|000054b0| 20 3d 20 22 43 61 6e 63 | 65 6c 22 20 74 68 65 6e | = "Canc|el" then|
|000054c0| 0d 72 65 74 75 72 6e 20 | 22 43 61 6e 63 65 6c 22 |.return |"Cancel"|
|000054d0| 20 2d 2d 20 73 61 76 65 | 64 20 69 6e 20 48 79 70 | -- save|d in Hyp|
|000054e0| 65 72 43 61 72 64 20 67 | 6c 6f 62 61 6c 20 22 74 |erCard g|lobal "t|
|000054f0| 68 65 20 72 65 73 75 6c | 74 22 0d 65 78 69 74 20 |he resul|t".exit |
|00005500| 67 6f 4d 6f 64 65 0d 65 | 6e 64 20 69 66 0d 73 68 |goMode.e|nd if.sh|
|00005510| 6f 77 20 63 64 20 66 6c | 64 20 63 6f 76 65 72 20 |ow cd fl|d cover |
|00005520| 6f 66 20 63 64 20 6d 6f | 64 65 4e 61 6d 65 0d 64 |of cd mo|deName.d|
|00005530| 6f 55 73 65 72 50 72 6f | 6d 70 74 20 45 6d 70 74 |oUserPro|mpt Empt|
|00005540| 79 50 72 6f 6d 70 74 20 | 2d 2d 20 63 6c 65 61 72 |yPrompt |-- clear|
|00005550| 20 70 72 6f 6d 70 74 20 | 66 69 65 6c 64 0d 69 66 | prompt |field.if|
|00005560| 20 69 74 20 3d 20 22 4f | 4b 22 20 74 68 65 6e 0d | it = "O|K" then.|
|00005570| 73 65 6e 64 20 70 75 74 | 43 61 72 64 44 61 74 61 |send put|CardData|
|00005580| 20 74 6f 20 74 68 69 73 | 20 63 64 0d 67 6f 20 63 | to this| cd.go c|
|00005590| 64 20 6d 6f 64 65 4e 61 | 6d 65 0d 73 65 74 46 69 |d modeNa|me.setFi|
|000055a0| 6c 65 53 74 61 74 65 20 | 22 4f 70 65 6e 22 0d 65 |leState |"Open".e|
|000055b0| 6c 73 65 20 2d 2d 20 22 | 4e 6f 22 0d 2d 2d 20 53 |lse -- "|No".-- S|
|000055c0| 65 74 20 61 20 74 72 61 | 70 20 66 6f 72 20 73 65 |et a tra|p for se|
|000055d0| 74 46 69 6c 65 53 74 61 | 74 65 2f 6e 65 65 64 6e |tFileSta|te/needn|
|000055e0| 65 77 44 61 74 61 20 74 | 6f 20 66 6f 72 63 65 20 |ewData t|o force |
|000055f0| 61 20 72 65 2d 72 65 61 | 64 0d 2d 2d 20 6f 66 20 |a re-rea|d.-- of |
|00005600| 74 68 65 20 66 69 6c 65 | 20 6f 6e 20 72 65 74 75 |the file| on retu|
|00005610| 72 6e 20 74 6f 20 74 68 | 69 73 20 63 61 72 64 0d |rn to th|is card.|
|00005620| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 6c |put empt|y into l|
|00005630| 69 6e 65 20 32 20 6f 66 | 20 62 67 20 66 6c 64 20 |ine 2 of| bg fld |
|00005640| 22 46 69 6c 65 4e 61 6d | 65 22 0d 70 75 74 20 22 |"FileNam|e".put "|
|00005650| 4f 70 65 6e 22 20 69 6e | 74 6f 20 69 74 65 6d 20 |Open" in|to item |
|00005660| 31 20 6f 66 20 70 64 78 | 53 74 61 74 65 0d 67 6f |1 of pdx|State.go|
|00005670| 20 63 64 20 6d 6f 64 65 | 4e 61 6d 65 0d 65 6e 64 | cd mode|Name.end|
|00005680| 20 69 66 0d 65 78 69 74 | 20 67 6f 4d 6f 64 65 0d | if.exit| goMode.|
|00005690| 65 6e 64 20 69 66 0d 73 | 68 6f 77 20 63 64 20 66 |end if.s|how cd f|
|000056a0| 6c 64 20 63 6f 76 65 72 | 20 6f 66 20 63 64 20 6d |ld cover| of cd m|
|000056b0| 6f 64 65 4e 61 6d 65 0d | 64 6f 55 73 65 72 50 72 |odeName.|doUserPr|
|000056c0| 6f 6d 70 74 20 45 6d 70 | 74 79 50 72 6f 6d 70 74 |ompt Emp|tyPrompt|
|000056d0| 20 2d 2d 20 63 6c 65 61 | 72 20 70 72 6f 6d 70 74 | -- clea|r prompt|
|000056e0| 20 66 69 65 6c 64 0d 0d | 73 65 74 20 6c 6f 63 6b | field..|set lock|
|000056f0| 73 63 72 65 65 6e 20 74 | 6f 20 74 72 75 65 0d 67 |screen t|o true.g|
|00005700| 6f 20 63 64 20 6d 6f 64 | 65 4e 61 6d 65 0d 65 6e |o cd mod|eName.en|
|00005710| 61 62 6c 65 45 64 69 74 | 73 0d 65 6e 64 20 67 6f |ableEdit|s.end go|
|00005720| 4d 6f 64 65 0d 0d 6f 6e | 20 63 68 61 6e 67 65 73 |Mode..on| changes|
|00005730| 43 68 65 63 6b 50 6f 69 | 6e 74 0d 2d 2d 20 49 66 |CheckPoi|nt.-- If|
|00005740| 20 74 68 65 72 65 20 68 | 61 76 65 20 62 65 65 6e | there h|ave been|
|00005750| 20 61 6e 79 20 63 68 61 | 6e 67 65 73 20 74 6f 20 | any cha|nges to |
|00005760| 74 68 65 20 63 75 72 72 | 65 6e 74 20 63 61 72 64 |the curr|ent card|
|00005770| 20 64 61 74 61 2c 0d 2d | 2d 20 20 74 68 69 73 20 | data,.-|- this |
|00005780| 68 61 6e 64 6c 65 72 20 | 61 73 6b 73 20 74 68 65 |handler |asks the|
|00005790| 20 75 73 65 72 20 77 68 | 65 74 68 65 72 20 74 6f | user wh|ether to|
|000057a0| 20 73 61 76 65 20 74 68 | 65 6d 20 6f 72 20 6e 6f | save th|em or no|
|000057b0| 74 2c 20 61 6e 64 0d 2d | 2d 20 20 73 61 76 65 73 |t, and.-|- saves|
|000057c0| 20 74 68 65 6d 20 69 66 | 20 4f 4b 27 65 64 20 62 | them if| OK'ed b|
|000057d0| 79 20 74 68 65 20 75 73 | 65 72 2e 0d 2d 2d 20 54 |y the us|er..-- T|
|000057e0| 48 49 53 20 48 41 4e 44 | 4c 45 52 20 4d 41 59 20 |HIS HAND|LER MAY |
|000057f0| 45 58 49 54 20 54 4f 20 | 48 59 50 45 52 43 41 52 |EXIT TO |HYPERCAR|
|00005800| 44 0d 2d 2d 20 55 53 45 | 53 3a 20 74 68 65 46 69 |D.-- USE|S: theFi|
|00005810| 6c 65 53 74 61 74 65 2c | 20 76 65 72 69 66 79 53 |leState,| verifyS|
|00005820| 61 76 65 2c 20 70 75 74 | 43 61 72 64 44 61 74 61 |ave, put|CardData|
|00005830| 0d 69 66 20 74 68 65 46 | 69 6c 65 53 74 61 74 65 |.if theF|ileState|
|00005840| 28 22 22 29 20 3d 20 22 | 43 68 61 6e 67 65 64 22 |("") = "|Changed"|
|00005850| 20 74 68 65 6e 0d 67 65 | 74 20 76 65 72 69 66 79 | then.ge|t verify|
|00005860| 53 61 76 65 28 33 29 0d | 69 66 20 69 74 20 3d 20 |Save(3).|if it = |
|00005870| 22 43 61 6e 63 65 6c 22 | 20 74 68 65 6e 20 65 78 |"Cancel"| then ex|
|00005880| 69 74 20 74 6f 20 48 79 | 70 65 72 43 61 72 64 0d |it to Hy|perCard.|
|00005890| 65 6c 73 65 20 69 66 20 | 69 74 20 3d 20 22 4f 4b |else if |it = "OK|
|000058a0| 22 20 74 68 65 6e 20 73 | 65 6e 64 20 70 75 74 43 |" then s|end putC|
|000058b0| 61 72 64 44 61 74 61 20 | 74 6f 20 74 68 69 73 20 |ardData |to this |
|000058c0| 63 64 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 63 68 |cd.end i|f.end ch|
|000058d0| 61 6e 67 65 73 43 68 65 | 63 6b 50 6f 69 6e 74 0d |angesChe|ckPoint.|
|000058e0| 0d 66 75 6e 63 74 69 6f | 6e 20 76 65 72 69 66 79 |.functio|n verify|
|000058f0| 53 61 76 65 20 58 0d 2d | 2d 20 43 61 6c 6c 65 64 |Save X.-|- Called|
|00005900| 20 77 68 65 6e 20 74 68 | 65 72 65 20 69 73 20 63 | when th|ere is c|
|00005910| 68 61 6e 67 65 64 20 63 | 61 72 64 20 64 61 74 61 |hanged c|ard data|
|00005920| 2c 20 74 6f 20 64 65 74 | 65 72 6d 69 6e 65 20 69 |, to det|ermine i|
|00005930| 66 20 75 73 65 72 20 77 | 61 6e 74 73 0d 2d 2d 20 |f user w|ants.-- |
|00005940| 74 6f 20 73 61 76 65 20 | 63 68 61 6e 67 65 73 2e |to save |changes.|
|00005950| 0d 2d 2d 20 52 45 54 55 | 52 4e 53 3a 20 22 4f 4b |.-- RETU|RNS: "OK|
|00005960| 22 20 2d 20 73 61 76 65 | 20 63 68 61 6e 67 65 73 |" - save| changes|
|00005970| 2c 20 63 6f 6e 74 69 6e | 75 65 20 75 73 65 72 2d |, contin|ue user-|
|00005980| 72 65 71 75 65 73 74 65 | 64 20 61 63 74 69 6f 6e |requeste|d action|
|00005990| 0d 2d 2d 20 20 20 20 20 | 20 20 20 20 20 22 43 61 |.-- | "Ca|
|000059a0| 6e 63 65 6c 22 20 2d 20 | 61 62 6f 72 74 20 75 73 |ncel" - |abort us|
|000059b0| 65 72 2d 72 65 71 75 65 | 73 74 65 64 20 61 63 74 |er-reque|sted act|
|000059c0| 69 6f 6e 2c 20 64 6f 20 | 6e 6f 74 20 73 61 76 65 |ion, do |not save|
|000059d0| 20 63 68 61 6e 67 65 73 | 0d 2d 2d 20 20 20 20 20 | changes|.-- |
|000059e0| 20 20 20 20 20 22 4e 6f | 22 20 2d 20 63 6f 6e 74 | "No|" - cont|
|000059f0| 69 6e 75 65 20 75 73 65 | 72 2d 72 65 71 75 65 73 |inue use|r-reques|
|00005a00| 74 65 64 20 61 63 74 69 | 6f 6e 2c 20 64 6f 20 6e |ted acti|on, do n|
|00005a10| 6f 74 20 73 61 76 65 20 | 63 68 61 6e 67 65 73 0d |ot save |changes.|
|00005a20| 69 66 20 58 20 3d 20 32 | 20 74 68 65 6e 0d 67 65 |if X = 2| then.ge|
|00005a30| 74 20 70 64 78 41 6c 65 | 72 74 28 20 53 61 76 65 |t pdxAle|rt( Save|
|00005a40| 43 68 61 6e 67 65 73 41 | 6c 65 72 74 2c 4e 6f 49 |ChangesA|lert,NoI|
|00005a50| 74 65 6d 2c 4f 4b 49 74 | 65 6d 20 29 0d 65 6c 73 |tem,OKIt|em ).els|
|00005a60| 65 0d 67 65 74 20 70 64 | 78 41 6c 65 72 74 28 20 |e.get pd|xAlert( |
|00005a70| 53 61 76 65 43 68 61 6e | 67 65 73 41 6c 65 72 74 |SaveChan|gesAlert|
|00005a80| 2c 43 61 6e 63 65 6c 49 | 74 65 6d 2c 4e 6f 49 74 |,CancelI|tem,NoIt|
|00005a90| 65 6d 2c 4f 4b 49 74 65 | 6d 20 29 0d 65 6e 64 20 |em,OKIte|m ).end |
|00005aa0| 69 66 0d 69 66 20 69 74 | 20 3d 20 74 72 61 6e 73 |if.if it| = trans|
|00005ab0| 6c 61 74 65 28 20 22 4f | 4b 49 74 65 6d 22 20 29 |late( "O|KItem" )|
|00005ac0| 20 74 68 65 6e 20 72 65 | 74 75 72 6e 20 22 4f 4b | then re|turn "OK|
|00005ad0| 22 0d 65 6c 73 65 20 69 | 66 20 69 74 20 3d 20 74 |".else i|f it = t|
|00005ae0| 72 61 6e 73 6c 61 74 65 | 28 20 22 4e 6f 49 74 65 |ranslate|( "NoIte|
|00005af0| 6d 22 20 29 20 74 68 65 | 6e 20 72 65 74 75 72 6e |m" ) the|n return|
|00005b00| 20 22 4e 6f 22 0d 65 6c | 73 65 20 72 65 74 75 72 | "No".el|se retur|
|00005b10| 6e 20 22 43 61 6e 63 65 | 6c 22 0d 65 6e 64 20 76 |n "Cance|l".end v|
|00005b20| 65 72 69 66 79 53 61 76 | 65 0d 0d 6f 6e 20 64 6f |erifySav|e..on do|
|00005b30| 55 73 65 72 50 72 6f 6d | 70 74 20 50 2c 51 0d 2d |UserProm|pt P,Q.-|
|00005b40| 2d 20 44 69 73 70 6c 61 | 79 20 75 73 65 72 20 70 |- Displa|y user p|
|00005b50| 72 6f 6d 70 74 2e 0d 2d | 2d 20 49 4e 3a 20 3c 50 |rompt..-|- IN: <P|
|00005b60| 3e 20 28 6f 70 74 69 6f | 6e 61 6c 29 20 69 73 20 |> (optio|nal) is |
|00005b70| 74 68 65 20 6f 6e 65 2d | 77 6f 72 64 20 6e 61 6d |the one-|word nam|
|00005b80| 65 20 6f 66 20 61 20 63 | 61 72 64 20 66 69 65 6c |e of a c|ard fiel|
|00005b90| 64 20 28 6f 6e 20 63 61 | 72 64 20 31 29 0d 2d 2d |d (on ca|rd 1).--|
|00005ba0| 20 20 20 20 20 20 20 63 | 6f 6e 74 61 69 6e 69 6e | c|ontainin|
|00005bb0| 67 20 74 68 65 20 28 6c | 6f 63 61 6c 69 7a 65 64 |g the (l|ocalized|
|00005bc0| 29 20 70 72 6f 6d 70 74 | 20 64 65 73 69 72 65 64 |) prompt| desired|
|00005bd0| 0d 2d 2d 20 20 20 20 20 | 3c 51 3e 20 28 6f 70 74 |.-- |<Q> (opt|
|00005be0| 69 6f 6e 61 6c 29 20 63 | 6f 6e 74 61 69 6e 73 20 |ional) c|ontains |
|00005bf0| 6f 74 68 65 72 20 69 6e | 66 6f 72 6d 61 74 69 6f |other in|formatio|
|00005c00| 6e 20 74 6f 20 62 65 20 | 64 69 73 70 6c 61 79 65 |n to be |displaye|
|00005c10| 64 0d 2d 2d 20 20 20 20 | 20 20 20 61 66 74 65 72 |d.-- | after|
|00005c20| 20 74 68 65 20 63 61 6e | 6e 65 64 20 70 72 6f 6d | the can|ned prom|
|00005c30| 70 74 20 64 65 73 69 67 | 6e 61 74 65 64 20 62 79 |pt desig|nated by|
|00005c40| 20 3c 50 3e 0d 2d 2d 20 | 20 20 20 20 49 66 20 6e | <P>.-- | If n|
|00005c50| 65 69 74 68 65 72 20 70 | 61 72 61 6d 65 74 65 72 |either p|arameter|
|00005c60| 20 69 73 20 70 72 6f 76 | 69 64 65 64 2c 20 61 6e | is prov|ided, an|
|00005c70| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 64 65 66 | appropr|iate def|
|00005c80| 61 75 6c 74 0d 2d 2d 20 | 20 20 20 20 20 20 70 72 |ault.-- | pr|
|00005c90| 6f 6d 70 74 20 69 73 20 | 75 73 65 64 2e 0d 67 6c |ompt is |used..gl|
|00005ca0| 6f 62 61 6c 20 70 64 78 | 53 74 61 74 65 0d 2d 2d |obal pdx|State.--|
|00005cb0| 0d 69 66 20 50 20 69 73 | 20 65 6d 70 74 79 20 74 |.if P is| empty t|
|00005cc0| 68 65 6e 0d 70 75 74 20 | 53 75 62 73 74 69 74 75 |hen.put |Substitu|
|00005cd0| 74 65 28 20 70 64 78 53 | 74 61 74 65 2c 20 22 2c |te( pdxS|tate, ",|
|00005ce0| 22 2c 20 22 5f 22 20 29 | 20 26 20 22 70 72 6f 6d |", "_" )| & "prom|
|00005cf0| 70 74 22 20 69 6e 74 6f | 20 50 0d 69 66 20 74 68 |pt" into| P.if th|
|00005d00| 65 46 69 6c 65 53 74 61 | 74 65 28 22 22 29 20 3d |eFileSta|te("") =|
|00005d10| 20 22 4f 70 65 6e 22 20 | c2 0d 61 6e 64 20 28 20 | "Open" |..and ( |
|00005d20| 62 67 20 66 6c 64 20 4f | 70 65 6e 53 74 61 74 65 |bg fld O|penState|
|00005d30| 4d 6f 64 69 66 69 65 72 | 20 69 73 20 6e 6f 74 20 |Modifier| is not |
|00005d40| 65 6d 70 74 79 20 29 0d | 74 68 65 6e 20 70 75 74 |empty ).|then put|
|00005d50| 20 62 67 20 66 6c 64 20 | 4f 70 65 6e 53 74 61 74 | bg fld |OpenStat|
|00005d60| 65 4d 6f 64 69 66 69 65 | 72 20 62 65 66 6f 72 65 |eModifie|r before|
|00005d70| 20 50 0d 65 6e 64 20 69 | 66 0d 2d 2d 20 77 65 20 | P.end i|f.-- we |
|00005d80| 73 68 6f 75 6c 64 20 6e | 6f 77 20 68 61 76 65 20 |should n|ow have |
|00005d90| 74 68 65 20 6f 6e 65 2d | 77 6f 72 64 20 6e 61 6d |the one-|word nam|
|00005da0| 65 20 6f 66 20 61 20 63 | 64 20 66 69 65 6c 64 20 |e of a c|d field |
|00005db0| 28 6f 6e 20 63 64 20 31 | 29 0d 2d 2d 20 63 6f 6e |(on cd 1|).-- con|
|00005dc0| 74 61 69 6e 69 6e 67 20 | 74 68 65 20 28 6c 6f 63 |taining |the (loc|
|00005dd0| 61 6c 69 7a 65 64 29 20 | 70 72 6f 6d 70 74 0d 69 |alized) |prompt.i|
|00005de0| 66 20 6e 75 6d 62 65 72 | 20 6f 66 20 77 6f 72 64 |f number| of word|
|00005df0| 73 20 6f 66 20 50 20 3e | 20 31 20 74 68 65 6e 20 |s of P >| 1 then |
|00005e00| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 50 |put empt|y into P|
|00005e10| 0d 65 6c 73 65 20 70 75 | 74 20 63 64 20 66 6c 64 |.else pu|t cd fld|
|00005e20| 20 50 20 6f 66 20 63 64 | 20 31 20 69 6e 74 6f 20 | P of cd| 1 into |
|00005e30| 50 0d 69 66 20 51 20 69 | 73 20 6e 6f 74 20 65 6d |P.if Q i|s not em|
|00005e40| 70 74 79 20 74 68 65 6e | 20 70 75 74 20 51 20 61 |pty then| put Q a|
|00005e50| 66 74 65 72 20 50 0d 70 | 75 74 20 50 20 69 6e 74 |fter P.p|ut P int|
|00005e60| 6f 20 62 67 20 66 6c 64 | 20 22 50 72 6f 6d 70 74 |o bg fld| "Prompt|
|00005e70| 22 0d 65 6e 64 20 64 6f | 55 73 65 72 50 72 6f 6d |".end do|UserProm|
|00005e80| 70 74 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 67 65 74 |pt..func|tion get|
|00005e90| 50 64 78 0d 2d 2d 20 52 | 65 61 64 20 69 6e 20 74 |Pdx.-- R|ead in t|
|00005ea0| 68 65 20 64 61 74 61 20 | 66 72 6f 6d 20 74 68 65 |he data |from the|
|00005eb0| 20 50 44 58 20 66 69 6c | 65 20 61 6e 64 20 72 65 | PDX fil|e and re|
|00005ec0| 74 75 72 6e 20 69 74 2e | 0d 2d 2d 20 54 48 49 53 |turn it.|.-- THIS|
|00005ed0| 20 46 55 4e 43 54 49 4f | 4e 20 4d 41 59 20 45 58 | FUNCTIO|N MAY EX|
|00005ee0| 49 54 20 54 4f 20 48 59 | 50 45 52 43 41 52 44 0d |IT TO HY|PERCARD.|
|00005ef0| 67 6c 6f 62 61 6c 20 70 | 64 78 46 69 6c 65 0d 2d |global p|dxFile.-|
|00005f00| 2d 0d 69 66 20 70 64 78 | 46 69 6c 65 20 69 73 20 |-.if pdx|File is |
|00005f10| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|00005f20| 74 6f 20 48 79 70 65 72 | 43 61 72 64 0d 70 75 74 |to Hyper|Card.put|
|00005f30| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 70 64 78 0d | empty i|nto pdx.|
|00005f40| 6f 70 65 6e 20 66 69 6c | 65 20 70 64 78 46 69 6c |open fil|e pdxFil|
|00005f50| 65 0d 72 65 70 65 61 74 | 0d 72 65 61 64 20 66 72 |e.repeat|.read fr|
|00005f60| 6f 6d 20 66 69 6c 65 20 | 70 64 78 46 69 6c 65 20 |om file |pdxFile |
|00005f70| 66 6f 72 20 31 36 33 38 | 34 20 2d 2d 20 62 69 67 |for 1638|4 -- big|
|00005f80| 67 65 73 74 20 63 68 75 | 6e 6b 20 48 43 20 63 61 |gest chu|nk HC ca|
|00005f90| 6e 20 72 65 61 64 0d 69 | 66 20 69 74 20 69 73 20 |n read.i|f it is |
|00005fa0| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|00005fb0| 72 65 70 65 61 74 0d 70 | 75 74 20 69 74 20 61 66 |repeat.p|ut it af|
|00005fc0| 74 65 72 20 70 64 78 0d | 65 6e 64 20 72 65 70 65 |ter pdx.|end repe|
|00005fd0| 61 74 0d 63 6c 6f 73 65 | 20 66 69 6c 65 20 70 64 |at.close| file pd|
|00005fe0| 78 46 69 6c 65 0d 72 65 | 74 75 72 6e 20 70 64 78 |xFile.re|turn pdx|
|00005ff0| 0d 65 6e 64 20 67 65 74 | 50 64 78 0d 0d 6f 6e 20 |.end get|Pdx..on |
|00006000| 65 6e 61 62 6c 65 45 64 | 69 74 73 0d 2d 2d 20 45 |enableEd|its.-- E|
|00006010| 6e 61 62 6c 65 20 61 6c | 6c 20 74 68 65 20 62 75 |nable al|l the bu|
|00006020| 74 74 6f 6e 73 20 6e 65 | 65 64 65 64 20 77 68 65 |ttons ne|eded whe|
|00006030| 6e 20 61 20 66 69 6c 65 | 20 69 73 20 6f 70 65 6e |n a file| is open|
|00006040| 20 28 22 53 61 76 65 2e | 2e 22 20 65 74 63 2e 29 | ("Save.|." etc.)|
|00006050| 0d 2d 2d 20 20 20 61 6e | 64 20 70 65 72 66 6f 72 |.-- an|d perfor|
|00006060| 6d 20 6f 74 68 65 72 20 | 68 6f 75 73 65 77 6f 72 |m other |housewor|
|00006070| 6b 2e 0d 2d 2d 0d 67 6c | 6f 62 61 6c 20 70 64 78 |k..--.gl|obal pdx|
|00006080| 46 69 6c 65 2c 20 70 64 | 78 53 74 61 74 65 0d 2d |File, pd|xState.-|
|00006090| 2d 67 6c 6f 62 61 6c 20 | 67 4e 69 63 6b 4e 61 6d |-global |gNickNam|
|000060a0| 65 2c 20 67 4e 69 63 6b | 4e 61 6d 65 43 68 61 6e |e, gNick|NameChan|
|000060b0| 67 65 64 0d 67 6c 6f 62 | 61 6c 20 67 50 50 44 46 |ged.glob|al gPPDF|
|000060c0| 69 6c 65 4e 61 6d 65 2c | 20 67 4e 69 63 6b 4e 61 |ileName,| gNickNa|
|000060d0| 6d 65 2c 20 67 50 50 44 | 46 69 6c 65 4e 61 6d 65 |me, gPPD|FileName|
|000060e0| 43 68 61 6e 67 65 64 2c | 20 67 4e 69 63 6b 4e 61 |Changed,| gNickNa|
|000060f0| 6d 65 43 68 61 6e 67 65 | 64 0d 74 75 72 6e 4f 6e |meChange|d.turnOn|
|00006100| 20 31 34 2c 20 31 35 2c | 20 38 30 20 2d 2d 20 43 | 14, 15,| 80 -- C|
|00006110| 6c 6f 73 65 2c 20 53 61 | 76 65 2c 20 53 61 76 65 |lose, Sa|ve, Save|
|00006120| 20 61 73 0d 2d 2d 20 74 | 68 65 20 46 69 6c 65 4e | as.-- t|he FileN|
|00006130| 61 6d 65 20 66 69 65 6c | 64 20 68 6f 6c 64 73 20 |ame fiel|d holds |
|00006140| 62 6f 74 68 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |both the| name of|
|00006150| 20 74 68 65 20 66 69 6c | 65 20 28 69 6e 20 6c 69 | the fil|e (in li|
|00006160| 6e 65 20 31 29 0d 2d 2d | 20 61 6e 64 20 74 68 65 |ne 1).--| and the|
|00006170| 20 66 75 6c 6c 20 70 61 | 74 68 6e 61 6d 65 20 28 | full pa|thname (|
|00006180| 69 6e 20 6c 69 6e 65 20 | 32 29 0d 73 65 74 20 6c |in line |2).set l|
|00006190| 6f 63 6b 73 63 72 65 65 | 6e 20 74 6f 20 74 72 75 |ockscree|n to tru|
|000061a0| 65 0d 70 75 74 20 4c 61 | 73 74 50 61 74 68 4e 61 |e.put La|stPathNa|
|000061b0| 6d 65 28 20 70 64 78 46 | 69 6c 65 20 29 20 69 6e |me( pdxF|ile ) in|
|000061c0| 74 6f 20 6c 69 6e 65 20 | 31 20 6f 66 20 62 67 20 |to line |1 of bg |
|000061d0| 66 6c 64 20 22 46 69 6c | 65 4e 61 6d 65 22 0d 70 |fld "Fil|eName".p|
|000061e0| 75 74 20 70 64 78 46 69 | 6c 65 20 69 6e 74 6f 20 |ut pdxFi|le into |
|000061f0| 6c 69 6e 65 20 32 20 6f | 66 20 62 67 20 66 6c 64 |line 2 o|f bg fld|
|00006200| 20 22 46 69 6c 65 4e 61 | 6d 65 22 0d 73 68 6f 77 | "FileNa|me".show|
|00006210| 20 62 67 20 66 6c 64 20 | 22 46 69 6c 65 4e 61 6d | bg fld |"FileNam|
|00006220| 65 22 0d 2d 2d 0d 2d 2d | 0d 70 75 74 20 67 65 74 |e".--.--|.put get|
|00006230| 50 50 44 56 61 6c 75 65 | 28 22 2a 49 6e 63 6c 75 |PPDValue|("*Inclu|
|00006240| 64 65 3a 22 29 20 69 6e | 74 6f 20 67 50 50 44 46 |de:") in|to gPPDF|
|00006250| 69 6c 65 4e 61 6d 65 0d | 70 75 74 20 67 50 50 44 |ileName.|put gPPD|
|00006260| 46 69 6c 65 4e 61 6d 65 | 20 69 6e 74 6f 20 74 68 |FileName| into th|
|00006270| 65 20 66 69 72 73 74 20 | 6c 69 6e 65 20 6f 66 20 |e first |line of |
|00006280| 62 67 20 66 69 65 6c 64 | 20 50 50 44 46 69 6c 65 |bg field| PPDFile|
|00006290| 4e 61 6d 65 0d 70 75 74 | 20 66 61 6c 73 65 20 69 |Name.put| false i|
|000062a0| 6e 74 6f 20 67 50 50 44 | 46 69 6c 65 4e 61 6d 65 |nto gPPD|FileName|
|000062b0| 43 68 61 6e 67 65 64 0d | 2d 2d 0d 70 75 74 20 67 |Changed.|--.put g|
|000062c0| 65 74 50 50 44 56 61 6c | 75 65 28 22 2a 4e 69 63 |etPPDVal|ue("*Nic|
|000062d0| 6b 6e 61 6d 65 3a 22 29 | 20 69 6e 74 6f 20 67 4e |kname:")| into gN|
|000062e0| 69 63 6b 4e 61 6d 65 0d | 70 75 74 20 66 61 6c 73 |ickName.|put fals|
|000062f0| 65 20 69 6e 74 6f 20 67 | 4e 69 63 6b 4e 61 6d 65 |e into g|NickName|
|00006300| 43 68 61 6e 67 65 64 0d | 70 75 74 20 67 4e 69 63 |Changed.|put gNic|
|00006310| 6b 4e 61 6d 65 20 69 6e | 74 6f 20 74 68 65 20 66 |kName in|to the f|
|00006320| 69 72 73 74 20 6c 69 6e | 65 20 6f 66 20 62 67 20 |irst lin|e of bg |
|00006330| 66 69 65 6c 64 20 4e 69 | 63 6b 4e 61 6d 65 0d 73 |field Ni|ckName.s|
|00006340| 68 6f 77 20 62 67 20 66 | 69 65 6c 64 20 50 50 44 |how bg f|ield PPD|
|00006350| 46 69 6c 65 4e 61 6d 65 | 0d 73 68 6f 77 20 62 67 |FileName|.show bg|
|00006360| 20 66 69 65 6c 64 20 4e | 69 63 6b 4e 61 6d 65 0d | field N|ickName.|
|00006370| 73 68 6f 77 20 62 67 20 | 62 75 74 74 6f 6e 20 50 |show bg |button P|
|00006380| 50 44 4c 6f 63 6b 0d 2d | 2d 0d 2d 2d 0d 2d 2d 69 |PDLock.-|-.--.--i|
|00006390| 66 20 62 67 20 66 6c 64 | 20 4f 70 65 6e 53 74 61 |f bg fld| OpenSta|
|000063a0| 74 65 4d 6f 64 69 66 69 | 65 72 20 69 73 20 6e 6f |teModifi|er is no|
|000063b0| 74 20 22 4e 6f 45 64 69 | 74 69 6e 67 22 20 74 68 |t "NoEdi|ting" th|
|000063c0| 65 6e 20 68 69 64 65 20 | 63 64 20 66 6c 64 20 63 |en hide |cd fld c|
|000063d0| 6f 76 65 72 0d 73 65 74 | 20 6c 6f 63 6b 73 63 72 |over.set| lockscr|
|000063e0| 65 65 6e 20 74 6f 20 66 | 61 6c 73 65 0d 65 6e 64 |een to f|alse.end|
|000063f0| 20 65 6e 61 62 6c 65 45 | 64 69 74 73 0d 0d 66 75 | enableE|dits..fu|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.